about summary refs log tree commit diff
path: root/doc/hooks/waf.section.md
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-10-13 15:36:04 +0200
committerRobert Hensing <robert@roberthensing.nl>2022-10-13 15:40:27 +0200
commit2db8de920eebf9ef488c4725d579a2c3862d9a04 (patch)
tree11273414bf1ed05cc3ef1745f397a96702a45a1b /doc/hooks/waf.section.md
parent5b055190e37d220b787b304e400391299bba022c (diff)
downloadnixlib-2db8de920eebf9ef488c4725d579a2c3862d9a04.tar
nixlib-2db8de920eebf9ef488c4725d579a2c3862d9a04.tar.gz
nixlib-2db8de920eebf9ef488c4725d579a2c3862d9a04.tar.bz2
nixlib-2db8de920eebf9ef488c4725d579a2c3862d9a04.tar.lz
nixlib-2db8de920eebf9ef488c4725d579a2c3862d9a04.tar.xz
nixlib-2db8de920eebf9ef488c4725d579a2c3862d9a04.tar.zst
nixlib-2db8de920eebf9ef488c4725d579a2c3862d9a04.zip
doc: Move non-stdenv hooks out of stdenv chapter
Diffstat (limited to 'doc/hooks/waf.section.md')
-rw-r--r--doc/hooks/waf.section.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/hooks/waf.section.md b/doc/hooks/waf.section.md
new file mode 100644
index 000000000000..de65abde4502
--- /dev/null
+++ b/doc/hooks/waf.section.md
@@ -0,0 +1,4 @@
+
+### wafHook {#wafhook}
+
+Overrides the configure, build, and install phases. This will run the “waf” script used by many projects. If `wafPath` (default `./waf`) doesn’t exist, it will copy the version of waf available in Nixpkgs. `wafFlags` can be used to pass flags to the waf script.