summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/heme
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-05 20:32:54 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-13 20:18:44 +0200
commit91407a8bdfb2dbb95b6cc5c99a44b0925bd464f8 (patch)
tree87b9ff74fa87a13246ca7a22cdee97132d1cbea8 /pkgs/applications/editors/heme
parent9a1aa51fed2b62edcce9f1722cfc822cf07f31a8 (diff)
ncurses: split into multiple outputs
Some programs (e.g. tput) might better be moved somewhere else than $dev/bin, but that can be improved later if need be.
Diffstat (limited to 'pkgs/applications/editors/heme')
-rw-r--r--pkgs/applications/editors/heme/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/editors/heme/default.nix b/pkgs/applications/editors/heme/default.nix
index d377e5cb36f6..19c4183ea672 100644
--- a/pkgs/applications/editors/heme/default.nix
+++ b/pkgs/applications/editors/heme/default.nix
@@ -10,10 +10,11 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace Makefile \
--replace "/usr/local" "$out" \
- --replace "CFLAGS = " "CFLAGS = -I${ncurses}/include " \
- --replace "LDFLAGS = " "LDFLAGS = -L${ncurses}/lib " \
+ --replace "CFLAGS = " "CFLAGS = -I${ncurses.dev}/include " \
+ --replace "LDFLAGS = " "LDFLAGS = -L${ncurses.lib}/lib " \
--replace "-lcurses" "-lncurses"
'';
+ buildInputs = [ ncurses ];
preBuild = ''
mkdir -p $out/bin
mkdir -p $out/man/man1