diff --git a/doc/functions/overrides.xml b/doc/functions/overrides.xml index 99e2a63631a7..021c4b41c360 100644 --- a/doc/functions/overrides.xml +++ b/doc/functions/overrides.xml @@ -86,11 +86,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 overrideAttrs should be preferred in (almost) all cases to overrideDerivation, - i.e. to allow using sdenv.mkDerivation to process input + i.e. to allow using stdenv.mkDerivation 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. buildInputs vs - nativeBuildInputs, and involves less typing. + nativeBuildInputs), and it involves less typing).