diff options
author | Aaron Janse <aaron@ajanse.me> | 2019-03-14 19:08:38 -0700 |
---|---|---|
committer | Aaron Janse <aaron@ajanse.me> | 2019-03-14 21:11:27 -0700 |
commit | 0258cff88787ac33121b7e36fef6eebde638f4da (patch) | |
tree | 55987ff7e5d9ff7208d4835225b9c1180698a95d /nixos/doc/manual | |
parent | f67eb111acf66cc3ad0e3da0b57b115e668f6e2b (diff) | |
download | nixlib-0258cff88787ac33121b7e36fef6eebde638f4da.tar nixlib-0258cff88787ac33121b7e36fef6eebde638f4da.tar.gz nixlib-0258cff88787ac33121b7e36fef6eebde638f4da.tar.bz2 nixlib-0258cff88787ac33121b7e36fef6eebde638f4da.tar.lz nixlib-0258cff88787ac33121b7e36fef6eebde638f4da.tar.xz nixlib-0258cff88787ac33121b7e36fef6eebde638f4da.tar.zst nixlib-0258cff88787ac33121b7e36fef6eebde638f4da.zip |
nixos/manual: reword note in declarative packages section
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r-- | nixos/doc/manual/configuration/declarative-packages.xml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/nixos/doc/manual/configuration/declarative-packages.xml b/nixos/doc/manual/configuration/declarative-packages.xml index bf7430244545..c9acbefea60e 100644 --- a/nixos/doc/manual/configuration/declarative-packages.xml +++ b/nixos/doc/manual/configuration/declarative-packages.xml @@ -14,10 +14,9 @@ <programlisting> <xref linkend="opt-environment.systemPackages"/> = [ pkgs.thunderbird ]; </programlisting> - The <literal>pkgs</literal> variable is used to reference packages in your - root channel. The effect of this specification is that the Thunderbird - package from your root Nixpkgs channel will be built or downloaded as part of - the system when you run <command>nixos-rebuild switch</command>. + The effect of this specification is that the Thunderbird package from Nixpkgs + will be built or downloaded as part of the system when you run + <command>nixos-rebuild switch</command>. </para> <para> @@ -28,10 +27,13 @@ nixos.firefox firefox-23.0 Mozilla Firefox - the browser, reloaded <replaceable>...</replaceable> </screen> The first column in the output is the <emphasis>attribute name</emphasis>, - such as <literal>nixos.thunderbird</literal>. The <literal>nixos</literal> - prefix tells us that we want to get the package from the `nixos` channel. - Some systems have other channels installed, such as `nixpkgs` or custom - channels for development purposes. + such as <literal>nixos.thunderbird</literal>. + </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> |