From 015b6667efb0c21f5c71938d120fffaef0db2511 Mon Sep 17 00:00:00 2001 From: Tomodachi94 Date: Sat, 14 Sep 2024 22:22:42 -0700 Subject: [PATCH] doc/hooks/premake: add documentation Added by https://github.com/NixOS/nixpkgs/pull/51205 Part of #341479 --- doc/hooks/index.md | 1 + doc/hooks/premake.section.md | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 doc/hooks/premake.section.md diff --git a/doc/hooks/index.md b/doc/hooks/index.md index 42a6553344b2..050345c98a55 100644 --- a/doc/hooks/index.md +++ b/doc/hooks/index.md @@ -25,6 +25,7 @@ patch-rc-path-hooks.section.md perl.section.md pkg-config.section.md postgresql-test-hook.section.md +premake.section.md python.section.md scons.section.md tetex-tex-live.section.md diff --git a/doc/hooks/premake.section.md b/doc/hooks/premake.section.md new file mode 100644 index 000000000000..b2c2d8fb637c --- /dev/null +++ b/doc/hooks/premake.section.md @@ -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.