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:
@@ -31,6 +31,9 @@ stdenv.mkDerivation rec {
|
||||
install -Dm755 bin/release/premake5 $out/bin/premake5
|
||||
'';
|
||||
|
||||
premake_cmd = "premake5";
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = {
|
||||
homepage = https://premake.github.io;
|
||||
description = "A simple build configuration and project generation tool using lua";
|
||||
|
||||
Reference in New Issue
Block a user