Merge pull request #57617 from aaronjanse/patch-20190313a
nixos/manual: clarify declarative packages section
This commit is contained in:
commit
38c6c7c8a3
@ -27,8 +27,13 @@ nixos.firefox firefox-23.0 Mozilla Firefox - the browser, reloaded
|
|||||||
<replaceable>...</replaceable>
|
<replaceable>...</replaceable>
|
||||||
</screen>
|
</screen>
|
||||||
The first column in the output is the <emphasis>attribute name</emphasis>,
|
The first column in the output is the <emphasis>attribute name</emphasis>,
|
||||||
such as <literal>nixos.thunderbird</literal>. (The <literal>nixos</literal>
|
such as <literal>nixos.thunderbird</literal>.
|
||||||
prefix allows distinguishing between different channels that you might have.)
|
</para>
|
||||||
|
<para>
|
||||||
|
Note: the <literal>nixos</literal> prefix tells us that we want to get the
|
||||||
|
package from the <literal>nixos</literal> channel and works only in CLI tools.
|
||||||
|
|
||||||
|
In declarative configuration use <literal>pkgs</literal> prefix (variable).
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user