Merge pull request #206623 from trofi/fix-enableParallelBuildingByDefault

stdenv: set `enableParallelBuilding` explicitly if `enableParallelBui…
This commit is contained in:
Sergei Trofimovich 2022-12-18 13:38:13 +00:00 committed by GitHub
commit 8b930761a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -418,6 +418,7 @@ else let
outputHashAlgo = attrs.outputHashAlgo or "sha256";
outputHashMode = attrs.outputHashMode or "recursive";
} // lib.optionalAttrs (enableParallelBuilding) {
inherit enableParallelBuilding;
enableParallelChecking = attrs.enableParallelChecking or true;
} // lib.optionalAttrs (hardeningDisable != [] || hardeningEnable != [] || stdenv.hostPlatform.isMusl) {
NIX_HARDENING_ENABLE = enabledHardeningOptions;