diff options
-rw-r--r-- | doc/functions.xml | 1 | ||||
-rw-r--r-- | doc/manual.xml | 1 | ||||
-rw-r--r-- | doc/overrides.xml (renamed from doc/functions/overrides.xml) | 6 |
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/functions.xml b/doc/functions.xml index 29b27d7d0de..970367870ee 100644 --- a/doc/functions.xml +++ b/doc/functions.xml @@ -7,7 +7,6 @@ The nixpkgs repository has several utility functions to manipulate Nix expressions. </para> <xi:include href="functions/library.xml" /> - <xi:include href="functions/overrides.xml" /> <xi:include href="functions/generators.xml" /> <xi:include href="functions/debug.xml" /> <xi:include href="functions/fhs-environments.xml" /> diff --git a/doc/manual.xml b/doc/manual.xml index 525373a3427..31c507178a8 100644 --- a/doc/manual.xml +++ b/doc/manual.xml @@ -10,6 +10,7 @@ <title>Using Nixpkgs</title> <xi:include href="configuration.xml" /> <xi:include href="overlays.xml" /> + <xi:include href="overrides.xml" /> <xi:include href="functions.xml" /> </part> <part> diff --git a/doc/functions/overrides.xml b/doc/overrides.xml index 4ba4283c609..991e13a1b82 100644 --- a/doc/functions/overrides.xml +++ b/doc/overrides.xml @@ -1,7 +1,7 @@ -<section xmlns="http://docbook.org/ns/docbook" +<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" - xml:id="sec-overrides"> + xml:id="chap-overrides"> <title>Overriding</title> <para> @@ -148,4 +148,4 @@ c = lib.makeOverridable f { a = 1; b = 2; }; The variable <varname>c</varname> however also has some additional functions, like <link linkend="sec-pkg-override">c.override</link> which can be used to override the default arguments. In this example the value of <varname>(c.override { a = 4; }).result</varname> is 6. </para> </section> -</section> +</chapter> |