diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2016-02-01 11:16:50 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2016-03-08 11:35:24 -0600 |
commit | 3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96 (patch) | |
tree | 4d31f367269d63a1f3c4d1314e50901396f8850c /pkgs/development/compilers/ghc/7.0.4-binary.nix | |
parent | 394ffcb3e5a89690588319eb995d3e066a1f2f89 (diff) | |
download | nixlib-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar nixlib-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.gz nixlib-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.bz2 nixlib-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.lz nixlib-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.xz nixlib-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.zst nixlib-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.zip |
ncurses: combine $lib and $out outputs
The $lib output refers to the terminfo database in $out, which is about 10x larger than the ncurses shared library. Splitting these outputs saves a small amount of space for any derivations that use the terminfo database but not the ncurses library, but we do not have evidence that any such exist.
Diffstat (limited to 'pkgs/development/compilers/ghc/7.0.4-binary.nix')
-rw-r--r-- | pkgs/development/compilers/ghc/7.0.4-binary.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/7.0.4-binary.nix b/pkgs/development/compilers/ghc/7.0.4-binary.nix index 874cf627864e..c03cfbaaadda 100644 --- a/pkgs/development/compilers/ghc/7.0.4-binary.nix +++ b/pkgs/development/compilers/ghc/7.0.4-binary.nix @@ -62,7 +62,7 @@ stdenv.mkDerivation rec { stdenv.lib.optionalString stdenv.isLinux '' find . -type f -perm -0100 \ -exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - --set-rpath "${ncurses.lib}/lib:${gmp.out}/lib" {} \; + --set-rpath "${ncurses.out}/lib:${gmp.out}/lib" {} \; sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2 sed -i "s|/usr/bin/gcc|gcc\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2 for prog in ld ar gcc strip ranlib; do |