Unverified Commit 683ffbdc authored by David McFarland's avatar David McFarland Committed by GitHub
Browse files

buildDotnetModule: inherit enableParallelBuilding (#339335)

parents 4b2d1e31 583270c8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -147,6 +147,8 @@ let
      dotnetUseAppHost = useAppHost;
      inherit useDotnetFromEnv;

      inherit enableParallelBuilding;

      nativeBuildInputs = args.nativeBuildInputs or [ ] ++ [
        dotnetConfigureHook
        dotnetBuildHook
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@ buildDotnetModule (finalAttrs: {
    hash = "sha256-FzQphMhiC1g+6qmk/R1v4rq2ldy35NcaWm0RR1UlwLA=";
  };

  enableParallelBuilding = false;

  # If the whole solution is published, there seems to be a race condition where
  # it will sometimes publish the wrong version of a dependent assembly, for
  # example: Microsoft.Extensions.Hosting.dll 6.0.0 instead of 8.0.0.
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@ buildDotnetModule (finalAttrs: {
  '';
  patches = [ ./001-Git-Version.patch ];

  enableParallelBuilding = false;

  dotnetRestoreFlags = [ "--configfile=${nuget-config}" ];

  doCheck = false;
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ buildDotnetModule rec {
    sha256 = "1v8j9l2r9sz9s3jhakr3rc50hf6fbdr5cqdrjidjwvziykfckizk";
  };

  enableParallelBuilding = false;

  dotnet-sdk = dotnetCorePackages.sdk_8_0;
  dotnet-runtime = dotnetCorePackages.runtime_8_0;