diff options
Diffstat (limited to 'doc/functions')
-rw-r--r-- | doc/functions/overrides.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/functions/overrides.xml b/doc/functions/overrides.xml index 4ba861bd1a4..1bd90d2a0c7 100644 --- a/doc/functions/overrides.xml +++ b/doc/functions/overrides.xml @@ -95,11 +95,11 @@ helloWithDebug = pkgs.hello.overrideAttrs (oldAttrs: rec { in this case, as it overrides only the attributes of the final derivation. It is for this reason that <varname>overrideAttrs</varname> should be preferred in (almost) all cases to <varname>overrideDerivation</varname>, - i.e. to allow using <varname>sdenv.mkDerivation</varname> to process input + i.e. to allow using <varname>stdenv.mkDerivation</varname> to process input arguments, as well as the fact that it is easier to use (you can use the same attribute names you see in your Nix code, instead of the ones generated (e.g. <varname>buildInputs</varname> vs - <varname>nativeBuildInputs</varname>, and involves less typing. + <varname>nativeBuildInputs</varname>), and it involves less typing). </para> </note> </section> |