diff options
Diffstat (limited to 'nixpkgs/doc/contributing/coding-conventions.xml')
-rw-r--r-- | nixpkgs/doc/contributing/coding-conventions.xml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/nixpkgs/doc/contributing/coding-conventions.xml b/nixpkgs/doc/contributing/coding-conventions.xml index 9005a9ebafd6..9f00942918c0 100644 --- a/nixpkgs/doc/contributing/coding-conventions.xml +++ b/nixpkgs/doc/contributing/coding-conventions.xml @@ -180,17 +180,12 @@ args.stdenv.mkDerivation (args // { </listitem> <listitem> <para> - Arguments should be listed in the order they are used, with the - exception of <varname>lib</varname>, which always goes first. + Arguments should be listed in the order they are used, with the exception of <varname>lib</varname>, which always goes first. </para> </listitem> <listitem> <para> - Prefer using the top-level <varname>lib</varname> over its alias - <literal>stdenv.lib</literal>. <varname>lib</varname> is unrelated to - <varname>stdenv</varname>, and so <literal>stdenv.lib</literal> should only - be used as a convenience alias when developing to avoid having to modify - the function inputs just to test something out. + Prefer using the top-level <varname>lib</varname> over its alias <literal>stdenv.lib</literal>. <varname>lib</varname> is unrelated to <varname>stdenv</varname>, and so <literal>stdenv.lib</literal> should only be used as a convenience alias when developing to avoid having to modify the function inputs just to test something out. </para> </listitem> </itemizedlist> @@ -689,8 +684,7 @@ args.stdenv.mkDerivation (args // { </varlistentry> <varlistentry> <term> - If it’s a <emphasis>theme</emphasis> for a <emphasis>desktop environment</emphasis>, - a <emphasis>window manager</emphasis> or a <emphasis>display manager</emphasis>: + If it’s a <emphasis>theme</emphasis> for a <emphasis>desktop environment</emphasis>, a <emphasis>window manager</emphasis> or a <emphasis>display manager</emphasis>: </term> <listitem> <para> |