about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3
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/desktops/gnome-3
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/desktops/gnome-3')
-rw-r--r--pkgs/desktops/gnome-3/3.18/core/vte/2.90.nix2
-rw-r--r--pkgs/desktops/gnome-3/3.18/core/vte/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/desktops/gnome-3/3.18/core/vte/2.90.nix b/pkgs/desktops/gnome-3/3.18/core/vte/2.90.nix
index 663d6b9e3524..cbb52c9aaa12 100644
--- a/pkgs/desktops/gnome-3/3.18/core/vte/2.90.nix
+++ b/pkgs/desktops/gnome-3/3.18/core/vte/2.90.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
   enableParallelBuilding = true;
 
   postInstall = ''
-    substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.lib}/lib -lncurses"
+    substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses"
   '';
 
   meta = with stdenv.lib; {
diff --git a/pkgs/desktops/gnome-3/3.18/core/vte/default.nix b/pkgs/desktops/gnome-3/3.18/core/vte/default.nix
index 5cd5ae18831f..38850f0fe761 100644
--- a/pkgs/desktops/gnome-3/3.18/core/vte/default.nix
+++ b/pkgs/desktops/gnome-3/3.18/core/vte/default.nix
@@ -20,7 +20,7 @@ let baseAttrs = rec {
   enableParallelBuilding = true;
 
   postInstall = ''
-    substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.lib}/lib -lncurses"
+    substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses"
   '';
 
   meta = with stdenv.lib; {