diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-10-30 11:03:55 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-10-30 11:17:14 +0100 |
commit | aad81ec8cd158a9e11f4d35fc6022d1300fcb4c6 (patch) | |
tree | b947a433a8365601ef7758d13029d638a83fd5fb /doc/using/overrides.xml | |
parent | acfc517a80ba4e53508fc38a09dd293aeb487cd2 (diff) |
nixpkgs manual: fix white space and indentation
Diffstat (limited to 'doc/using/overrides.xml')
-rw-r--r-- | doc/using/overrides.xml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/using/overrides.xml b/doc/using/overrides.xml index 991e13a1b8289..c9d36ddb2d7b6 100644 --- a/doc/using/overrides.xml +++ b/doc/using/overrides.xml @@ -3,15 +3,12 @@ xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="chap-overrides"> <title>Overriding</title> - <para> Sometimes one wants to override parts of <literal>nixpkgs</literal>, e.g. derivation attributes, the results of derivations. </para> - <para> These functions are used to make changes to packages, returning only single packages. <link xlink:href="#chap-overlays">Overlays</link>, on the other hand, can be used to combine the overridden packages across the entire package set of Nixpkgs. </para> - <section xml:id="sec-pkg-override"> <title><pkg>.override</title> @@ -45,7 +42,6 @@ mypkg = pkgs.callPackage ./mypkg.nix { In the first example, <varname>pkgs.foo</varname> is the result of a function call with some default arguments, usually a derivation. Using <varname>pkgs.foo.override</varname> will call the same function with the given new arguments. </para> </section> - <section xml:id="sec-pkg-overrideAttrs"> <title><pkg>.overrideAttrs</title> @@ -76,7 +72,6 @@ helloWithDebug = pkgs.hello.overrideAttrs (oldAttrs: rec { </para> </note> </section> - <section xml:id="sec-pkg-overrideDerivation"> <title><pkg>.overrideDerivation</title> @@ -124,7 +119,6 @@ mySed = pkgs.gnused.overrideDerivation (oldAttrs: { </para> </note> </section> - <section xml:id="sec-lib-makeOverridable"> <title>lib.makeOverridable</title> |