doc: Improve overrides and overlays documentation

This commit is contained in:
Robert Hensing
2018-10-18 14:01:06 +02:00
parent 9b7654f6ff
commit 3c2ae189c2
2 changed files with 114 additions and 92 deletions
+3 -6
View File
@@ -10,12 +10,9 @@
</para>
<para>
These overriding functions let you focus on one part of Nixpkgs and give you
back the requested variation. This is orthogonal but related to overlays and
the extending functions. Those also let you make modifications but return the
whole package set instead of just what you modified. When used together, the
override functions make the changes and overlays or extending functions add
those changes to the package sets.
These functions are used to make changes to packages, returning only single
packages. Overlays, 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">