mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
buildDotnetModule: inherit enableParallelBuilding (#339335)
This commit is contained in:
commit
683ffbdc5c
@ -147,6 +147,8 @@ let
|
||||
dotnetUseAppHost = useAppHost;
|
||||
inherit useDotnetFromEnv;
|
||||
|
||||
inherit enableParallelBuilding;
|
||||
|
||||
nativeBuildInputs = args.nativeBuildInputs or [ ] ++ [
|
||||
dotnetConfigureHook
|
||||
dotnetBuildHook
|
||||
|
@ -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.
|
||||
|
@ -40,6 +40,8 @@ buildDotnetModule (finalAttrs: {
|
||||
'';
|
||||
patches = [ ./001-Git-Version.patch ];
|
||||
|
||||
enableParallelBuilding = false;
|
||||
|
||||
dotnetRestoreFlags = [ "--configfile=${nuget-config}" ];
|
||||
|
||||
doCheck = false;
|
||||
|
@ -35,6 +35,8 @@ buildDotnetModule rec {
|
||||
sha256 = "1v8j9l2r9sz9s3jhakr3rc50hf6fbdr5cqdrjidjwvziykfckizk";
|
||||
};
|
||||
|
||||
enableParallelBuilding = false;
|
||||
|
||||
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
||||
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user