Merge pull request #84415 from matthewbauer/mb-cross-fixes-april2020

Cross compilation fixes [april 2020]
This commit is contained in:
Matthew Bauer
2020-04-13 16:48:38 -04:00
committed by GitHub
36 changed files with 187 additions and 83 deletions
+2 -3
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";