premake: add setup-hook
Adds a configure phase for packages using premake. premakeConfigurePhase runs the correct premake version for the premake you are using (see premake_cmd).
This commit is contained in:
@@ -18,6 +18,9 @@ stdenv.mkDerivation {
|
||||
install -Dm755 bin/premake $out/bin/premake
|
||||
'';
|
||||
|
||||
premake_cmd = "premake3";
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = {
|
||||
homepage = http://industriousone.com/premake;
|
||||
description = "A simple build configuration and project generation tool using lua";
|
||||
|
||||
Reference in New Issue
Block a user