doc/hooks/premake: add documentation

Added by https://github.com/NixOS/nixpkgs/pull/51205

Part of #341479
This commit is contained in:
Tomodachi94 2024-09-14 22:22:42 -07:00 committed by Bjørn Forsman
parent d71660e9a7
commit 015b6667ef
2 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,7 @@ patch-rc-path-hooks.section.md
perl.section.md perl.section.md
pkg-config.section.md pkg-config.section.md
postgresql-test-hook.section.md postgresql-test-hook.section.md
premake.section.md
python.section.md python.section.md
scons.section.md scons.section.md
tetex-tex-live.section.md tetex-tex-live.section.md

View File

@ -0,0 +1,7 @@
# Premake {#premake-hook}
This setup hook attempts to configure the package using [the Premake build configuration system](https://premake.github.io/). It overrides the `configurePhase` by default, if none exists.
[]{#premake-hook-premakefile} The Premakefile to use can be specified by setting `premakefile` in the derivation.
[]{#premake-hook-premakeFlagsArray} The flags passed to Premake can be configured by adding strings to the `premakeFlags` list.