nss: fix build parallelism

NIX_BUILD_CORES was not honored before
Closes #216035
This commit is contained in:
ajs124 2023-02-13 14:21:56 +01:00
parent e4b2d82356
commit f4e9ffe7cb

View File

@ -96,6 +96,7 @@ stdenv.mkDerivation rec {
-Dhost_arch=${host} \
-Duse_system_zlib=1 \
--enable-libpkix \
-j $NIX_BUILD_CORES \
${lib.optionalString enableFIPS "--enable-fips"} \
${lib.optionalString stdenv.isDarwin "--clang"} \
${lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) "--disable-tests"}