Skip to content

Commit

Permalink
buildDotnetModule: inherit enableParallelBuilding (#339335)
Browse files Browse the repository at this point in the history
  • Loading branch information
corngood authored Sep 4, 2024
2 parents 4b2d1e3 + 583270c commit 683ffbd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/build-support/dotnet/build-dotnet-module/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ let
dotnetUseAppHost = useAppHost;
inherit useDotnetFromEnv;

inherit enableParallelBuilding;

nativeBuildInputs = args.nativeBuildInputs or [ ] ++ [
dotnetConfigureHook
dotnetBuildHook
Expand Down
2 changes: 2 additions & 0 deletions pkgs/by-name/ne/nexusmods-app/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions pkgs/by-name/re/recyclarr/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ buildDotnetModule (finalAttrs: {
'';
patches = [ ./001-Git-Version.patch ];

enableParallelBuilding = false;

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

doCheck = false;
Expand Down
2 changes: 2 additions & 0 deletions pkgs/by-name/ry/ryujinx/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ buildDotnetModule rec {
sha256 = "1v8j9l2r9sz9s3jhakr3rc50hf6fbdr5cqdrjidjwvziykfckizk";
};

enableParallelBuilding = false;

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

Expand Down

0 comments on commit 683ffbd

Please sign in to comment.