From df17077dbafc2f570d2bdf5a7907d2e22806d236 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 17 Oct 2021 21:26:56 +0100 Subject: [PATCH] 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".) --- pkgs/tools/misc/coreutils/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index 16f3e4c721f7..f5e7ca8a25c0 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -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";