nixpkgs docs: Fix tiny typo (#48477)
This commit is contained in:
parent
b326148231
commit
00b555ef88
@ -86,11 +86,11 @@ helloWithDebug = pkgs.hello.overrideAttrs (oldAttrs: rec {
|
|||||||
in this case, as it overrides only the attributes of the final derivation.
|
in this case, as it overrides only the attributes of the final derivation.
|
||||||
It is for this reason that <varname>overrideAttrs</varname> should be
|
It is for this reason that <varname>overrideAttrs</varname> should be
|
||||||
preferred in (almost) all cases to <varname>overrideDerivation</varname>,
|
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
|
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
|
same attribute names you see in your Nix code, instead of the ones
|
||||||
generated (e.g. <varname>buildInputs</varname> vs
|
generated (e.g. <varname>buildInputs</varname> vs
|
||||||
<varname>nativeBuildInputs</varname>, and involves less typing.
|
<varname>nativeBuildInputs</varname>), and it involves less typing).
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user