aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/functions/overrides.xml4
1 files changed, 2 insertions, 2 deletions
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 <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>