diff --git a/doc/hooks/waf.section.md b/doc/hooks/waf.section.md index 8cacb30ea85f..8dc78121cd9d 100644 --- a/doc/hooks/waf.section.md +++ b/doc/hooks/waf.section.md @@ -1,16 +1,16 @@ -# wafHook {#wafhook} +# waf.hook {#wafhook} [Waf](https://waf.io) is a Python-based software building system. -In Nixpkgs, `wafHook` overrides the default configure, build, and install phases. +In Nixpkgs, `waf.hook` overrides the default configure, build, and install phases. -## Variables controlling wafHook {#variablesControllingWafHook} +## Variables controlling waf.hook {#variablesControllingWafHook} ### `wafPath` {#wafPath} Location of the `waf` tool. It defaults to `./waf`, to honor software projects that include it directly inside their source trees. -If `wafPath` doesn't exist, then `wafHook` will copy the `waf` provided from Nixpkgs to it. +If `wafPath` doesn't exist, then `waf.hook` will copy the `waf` provided from Nixpkgs to it. ### `wafConfigureFlags` {#wafConfigureFlags} @@ -36,9 +36,9 @@ When set to true, don't use the predefined `wafBuildPhase`. When set to true, don't use the predefined `wafInstallPhase`. -### Variables honored by wafHook {#variablesHonoredByWafHook} +### Variables honored by waf.hook {#variablesHonoredByWafHook} -The following variables commonly used by `stdenv.mkDerivation` are also honored by `wafHook`. +The following variables commonly used by `stdenv.mkDerivation` are also honored by `waf.hook`. - `prefixKey` - `configureTargets`