diff options
author | Domen Kožar <domen@dev.si> | 2016-05-30 12:34:03 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2016-05-30 12:34:03 +0100 |
commit | dee13c7fd4fadacc9c95a4d984e0ca97da9e3d1b (patch) | |
tree | b2e1f697ccabb2a29f86bdf1677c6df30b9c729e | |
parent | f345d01974378d443e82cd615ee95620529beb1d (diff) |
doc: mention overrideDerivation causes evaluation of Derivation
-rw-r--r-- | doc/functions.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/functions.xml b/doc/functions.xml index 7d250824f785..e6bb6b7deefb 100644 --- a/doc/functions.xml +++ b/doc/functions.xml @@ -92,7 +92,14 @@ in ...</programlisting> <para>Do not use this function in Nixpkgs. Because it breaks package abstraction and doesn’t provide error checking for 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> <para> |