about summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc-arm-embedded
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-02-01 11:16:50 -0600
committerThomas Tuegel <ttuegel@gmail.com>2016-03-08 11:35:24 -0600
commit3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96 (patch)
tree4d31f367269d63a1f3c4d1314e50901396f8850c /pkgs/development/compilers/gcc-arm-embedded
parent394ffcb3e5a89690588319eb995d3e066a1f2f89 (diff)
downloadnixlib-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/gcc-arm-embedded')
-rw-r--r--pkgs/development/compilers/gcc-arm-embedded/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc-arm-embedded/default.nix b/pkgs/development/compilers/gcc-arm-embedded/default.nix
index 3f9a2a1f2fbb..33f51270f43e 100644
--- a/pkgs/development/compilers/gcc-arm-embedded/default.nix
+++ b/pkgs/development/compilers/gcc-arm-embedded/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
     for f in $(find $out); do
       if [ -f "$f" ] && patchelf "$f" 2> /dev/null; then
         patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \
-                 --set-rpath $out/lib:${gcc.lib or gcc}/lib:${ncurses.lib}/lib \
+                 --set-rpath $out/lib:${gcc.lib or gcc}/lib:${ncurses.out}/lib \
                  "$f" || true
       fi
     done