summary refs log tree commit diff
path: root/pkgs/stdenv/linux
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-01-10 03:42:27 -0800
committerAdam Joseph <adam@westernsemico.com>2023-01-10 13:29:02 -0800
commit74df5ad72b7f5f28ce84520708c35a6877c66194 (patch)
tree9a3d37ea604aebfc99b88f0edee7d88225fb4fe6 /pkgs/stdenv/linux
parentabf4c42e783e2a46712f20ff2bdecd770ff45c2e (diff)
downloadnixpkgs-74df5ad72b7f5f28ce84520708c35a6877c66194.tar
nixpkgs-74df5ad72b7f5f28ce84520708c35a6877c66194.tar.gz
nixpkgs-74df5ad72b7f5f28ce84520708c35a6877c66194.tar.bz2
nixpkgs-74df5ad72b7f5f28ce84520708c35a6877c66194.tar.lz
nixpkgs-74df5ad72b7f5f28ce84520708c35a6877c66194.tar.xz
nixpkgs-74df5ad72b7f5f28ce84520708c35a6877c66194.tar.zst
nixpkgs-74df5ad72b7f5f28ce84520708c35a6877c66194.zip
stdenv: build gettext only once
Right now we build gettext several times during the bootstrap.
Gettext's build process is "embarrassingly serial", so avoiding
rebuilding it speeds things up considerably.
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r--pkgs/stdenv/linux/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix
index 870fb04c388..ce682f14a15 100644
--- a/pkgs/stdenv/linux/default.nix
+++ b/pkgs/stdenv/linux/default.nix
@@ -296,7 +296,7 @@ in
 
     overrides = self: super: {
       inherit (prevStage)
-        ccWrapperStdenv
+        ccWrapperStdenv gettext
         gcc-unwrapped coreutils gnugrep
         perl gnum4 bison;
       dejagnu = super.dejagnu.overrideAttrs (a: { doCheck = false; } );
@@ -369,7 +369,7 @@ in
     overrides = self: super: rec {
       inherit (prevStage)
         ccWrapperStdenv
-        binutils coreutils gnugrep
+        binutils coreutils gnugrep gettext
         perl patchelf linuxHeaders gnum4 bison libidn2 libunistring;
       ${localSystem.libc} = getLibc prevStage;
       gcc-unwrapped =