gmad: use premake setup hook

This commit is contained in:
Matthew Bauer 2018-11-27 01:35:32 -06:00
parent 932c1ff4c8
commit 0984032d6a

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
else if stdenv.isDarwin then "gmad_osx"
else "gmad";
configurePhase = "premake4 --bootil_lib=${bootil}/lib --bootil_inc=${bootil}/include gmake";
premakeFlags = "--bootil_lib=${bootil}/lib --bootil_inc=${bootil}/include";
installPhase = ''
mkdir -p $out/bin