coreutils: enable parallel builds and tests

Tested on 16-core machine with 10 rebuilds:
    $ nix build -f. coreutils --repeat 10

No failures. Original failure is probably fixed upstream
with a69e54cfdf7 ("maint: fix dependency of man/arch.1".)
This commit is contained in:
Sergei Trofimovich
2021-10-17 21:30:55 +01:00
parent e67c29e52f
commit df17077dba
+1 -3
View File
@@ -121,9 +121,7 @@ stdenv.mkDerivation (rec {
# Prevents attempts of running 'help2man' on cross-built binaries.
PERL = if stdenv.hostPlatform == stdenv.buildPlatform then null else "missing";
# Saw random failures like help2man: can't get '--help' info from
# man/sha512sum.td/sha512sum.
enableParallelBuilding = false;
enableParallelBuilding = true;
NIX_LDFLAGS = optionalString selinuxSupport "-lsepol";
FORCE_UNSAFE_CONFIGURE = optionalString stdenv.hostPlatform.isSunOS "1";