Skip to content

Commit

Permalink
stdenv: rebuild gettext with working iconv
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored and emilazy committed Nov 20, 2024
1 parent 22f218c commit 28f966f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/stdenv/linux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,9 @@ in
configureFlags = (a.configureFlags or []) ++ [
"--with-native-system-header-dir=/include"
"--with-build-sysroot=${lib.getDev self.stdenv.cc.libc}"
# Don't assume that `gettext` was built with iconv support, since we don't have
# our own `glibc` yet.
"--disable-nls"
];

# This is a separate phase because gcc assembles its phase scripts
Expand Down Expand Up @@ -507,7 +510,7 @@ in
overrides = self: super: rec {
inherit (prevStage)
ccWrapperStdenv
binutils coreutils gnugrep gettext
binutils coreutils gnugrep
perl patchelf linuxHeaders gnum4 bison libidn2 libunistring libxcrypt;
# We build a special copy of libgmp which doesn't use libstdc++, because
# xgcc++'s libstdc++ references the bootstrap-files (which is what
Expand Down

0 comments on commit 28f966f

Please sign in to comment.