slang: respect TERMINFO_DIRS

This commit is contained in:
Linus Heckemann
2019-05-06 21:57:18 +02:00
parent 1800e3ca5c
commit 8bf5d3a34e
2 changed files with 174 additions and 0 deletions
@@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "man" "doc" ];
patches = [ ./terminfo-dirs.patch ];
# Fix some wrong hardcoded paths
preConfigure = ''
sed -i -e "s|/usr/lib/terminfo|${ncurses.out}/lib/terminfo|" configure