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.
This commit is contained in:
Adam Joseph 2023-01-10 03:42:27 -08:00
parent abf4c42e78
commit 74df5ad72b

View file

@ -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 =