diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2023-06-06 09:02:50 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2023-06-06 09:05:31 +0100 |
commit | e27de0051702e7c134b2e5746e116b44302dc15e (patch) | |
tree | 621a61dfeef7fe0ecc9a13678e4956b7cda254b4 /pkgs/tools/text/gnugrep/default.nix | |
parent | 57d43eef309e7febffd9723c5dc380a29bdac2fb (diff) |
gnugrep: enable parallel build and tests
On a 16-core system number changes are: - before: 1m34s - after: 39s 2.5x speedup. If ./configure phase was faster the change would be even more substantial.
Diffstat (limited to 'pkgs/tools/text/gnugrep/default.nix')
-rw-r--r-- | pkgs/tools/text/gnugrep/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index 75c6f69507370..e0f4e5f8d4aa0 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -36,6 +36,8 @@ stdenv.mkDerivation { export MKDIR_P="mkdir -p" ''; + enableParallelBuilding = true; + # Fix reference to sh in bootstrap-tools, and invoke grep via # absolute path rather than looking at argv[0]. postInstall = |