buildDotnetModule: inherit enableParallelBuilding (#339335)

This commit is contained in:
David McFarland 2024-09-03 20:56:37 -07:00 committed by GitHub
commit 683ffbdc5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 0 deletions

View File

@ -147,6 +147,8 @@ let
dotnetUseAppHost = useAppHost;
inherit useDotnetFromEnv;
inherit enableParallelBuilding;
nativeBuildInputs = args.nativeBuildInputs or [ ] ++ [
dotnetConfigureHook
dotnetBuildHook

View File

@ -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.

View File

@ -40,6 +40,8 @@ buildDotnetModule (finalAttrs: {
'';
patches = [ ./001-Git-Version.patch ];
enableParallelBuilding = false;
dotnetRestoreFlags = [ "--configfile=${nuget-config}" ];
doCheck = false;

View File

@ -35,6 +35,8 @@ buildDotnetModule rec {
sha256 = "1v8j9l2r9sz9s3jhakr3rc50hf6fbdr5cqdrjidjwvziykfckizk";
};
enableParallelBuilding = false;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;