dvtm: add ncurses dev input to PATH

fixes cross compilation
This commit is contained in:
Matthew Bauer 2020-04-06 11:04:25 -04:00
parent dcb8c6fa8b
commit 51ab062863

View file

@ -9,6 +9,7 @@ stdenv.mkDerivation {
cp ${builtins.toFile "config.h" customConfig} ./config.h
'';
nativeBuildInputs = [ ncurses ];
buildInputs = [ ncurses ];
prePatch = ''
@ -16,9 +17,7 @@ stdenv.mkDerivation {
--replace /usr/share/terminfo $out/share/terminfo
'';
installPhase = ''
make PREFIX=$out install
'';
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Dynamic virtual terminal manager";