doc: mention overrideDerivation causes evaluation of Derivation
This commit is contained in:
parent
f345d01974
commit
dee13c7fd4
1 changed files with 8 additions and 1 deletions
|
@ -92,7 +92,14 @@ in ...</programlisting>
|
||||||
<para>Do not use this function in Nixpkgs. Because it breaks
|
<para>Do not use this function in Nixpkgs. Because it breaks
|
||||||
package abstraction and doesn’t provide error checking for
|
package abstraction and doesn’t provide error checking for
|
||||||
function arguments, it is only intended for ad-hoc customisation
|
function arguments, it is only intended for ad-hoc customisation
|
||||||
(such as in <filename>~/.nixpkgs/config.nix</filename>).</para>
|
(such as in <filename>~/.nixpkgs/config.nix</filename>).
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Additionally, <varname>overrideDerivation</varname> forces an evaluation
|
||||||
|
of the Derivation which can be quite a performance penalty if there are many
|
||||||
|
overrides used.
|
||||||
|
</para>
|
||||||
</warning>
|
</warning>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
|
Loading…
Reference in a new issue