nas: use imake setup hook

This commit is contained in:
Matthew Bauer 2018-11-28 12:05:08 -06:00
parent 8e4b0ceeb2
commit 5d9b3a8e8b

View file

@ -16,12 +16,9 @@ in stdenv.mkDerivation {
buildInputs = [ xproto libXau libXt libXext libXaw libXpm ];
buildPhase = ''
xmkmf
make WORLDOPTS="" World
'';
buildFlags = [ "WORLDOPTS=" "World" ];
installFlags = "LDLIBS=-lfl DESTDIR=\${out}";
installFlags = [ "LDLIBS=-lfl" "DESTDIR=${placeholder "out"}" ];
postInstall = ''
mv $out/${xorgcffiles}/* $out