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>override</varname> mechanism above overrides the arguments of
a package function, <varname>overrideAttrs</varname> allows
changing the <emphasis>attributes</emphasis> of the function. This
permits changing any aspect of the package, such as the source code.
changing the <emphasis>attributes</emphasis> passed to <literal>mkDerivation</literal>.
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
can say: