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/tools/system/gptfdisk | |
parent | 394ffcb3e5a89690588319eb995d3e066a1f2f89 (diff) | |
download | nixpkgs-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar nixpkgs-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.gz nixpkgs-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.bz2 nixpkgs-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.lz nixpkgs-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.xz nixpkgs-3ef7671cea0ed5a4819e1cd83c03f4ee1f85eb96.tar.zst nixpkgs-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/tools/system/gptfdisk')
-rw-r--r-- | pkgs/tools/system/gptfdisk/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/gptfdisk/default.nix b/pkgs/tools/system/gptfdisk/default.nix index 940383a6bc6..0b034819651 100644 --- a/pkgs/tools/system/gptfdisk/default.nix +++ b/pkgs/tools/system/gptfdisk/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { substituteInPlace Makefile.mac --replace \ " -I/opt/local/include -I /usr/local/include -I/opt/local/include" "" substituteInPlace Makefile.mac --replace \ - "/opt/local/lib/libncurses.a" "${ncurses.lib}/lib/libncurses.dylib" + "/opt/local/lib/libncurses.a" "${ncurses.out}/lib/libncurses.dylib" ''; buildPhase = stdenv.lib.optionalString stdenv.isDarwin "make -f Makefile.mac"; |