diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-21 10:49:26 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-21 10:49:26 -0400 |
commit | 5833b2ee3074d5fe237c42eef4c72a3b08763d3d (patch) | |
tree | d20e6c89087e064320f91c203d2d93604cfcd579 /pkgs | |
parent | adc0b5254507b321becbf48efc46af46cdd41317 (diff) |
sharutils: Fix building on Glibc 2.16
http://hydra.nixos.org/build/3046590
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/archivers/sharutils/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/sharutils/default.nix b/pkgs/tools/archivers/sharutils/default.nix index 15b8ead7d38b..bbf585d058bb 100644 --- a/pkgs/tools/archivers/sharutils/default.nix +++ b/pkgs/tools/archivers/sharutils/default.nix @@ -8,6 +8,13 @@ stdenv.mkDerivation rec { sha256 = "1mallg1gprimlggdisfzdmh1xi676jsfdlfyvanlcw72ny8fsj3g"; }; + preConfigure = + '' + # Fix for building on Glibc 2.16. Won't be needed once the + # gnulib in sharutils is updated. + sed -i '/gets is a security hole/d' lib/stdio.in.h + ''; + # GNU Gettext is needed on non-GNU platforms. buildInputs = [ gettext ]; |