nixos manual: clarify "attributes of function"

This commit is contained in:
Vladimír Čunát 2016-11-05 11:02:04 +01:00
parent 3d99eea852
commit 559ddae410
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -45,8 +45,8 @@ elements.)</para>
<varname>overrideAttrs</varname>. While the <varname>overrideAttrs</varname>. While the
<varname>override</varname> mechanism above overrides the arguments of <varname>override</varname> mechanism above overrides the arguments of
a package function, <varname>overrideAttrs</varname> allows a package function, <varname>overrideAttrs</varname> allows
changing the <emphasis>attributes</emphasis> of the function. This changing the <emphasis>attributes</emphasis> passed to <literal>mkDerivation</literal>.
permits changing any aspect of the package, such as the source code. This permits changing any aspect of the package, such as the source code.
For instance, if you want to override the source code of Emacs, you For instance, if you want to override the source code of Emacs, you
can say: can say: