From 0258cff88787ac33121b7e36fef6eebde638f4da Mon Sep 17 00:00:00 2001 From: Aaron Janse Date: Thu, 14 Mar 2019 19:08:38 -0700 Subject: [PATCH] nixos/manual: reword note in declarative packages section --- .../configuration/declarative-packages.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/nixos/doc/manual/configuration/declarative-packages.xml b/nixos/doc/manual/configuration/declarative-packages.xml index bf743024454..c9acbefea60 100644 --- a/nixos/doc/manual/configuration/declarative-packages.xml +++ b/nixos/doc/manual/configuration/declarative-packages.xml @@ -14,10 +14,9 @@ = [ pkgs.thunderbird ]; - The pkgs 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 nixos-rebuild switch. + 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 + nixos-rebuild switch. @@ -28,10 +27,13 @@ nixos.firefox firefox-23.0 Mozilla Firefox - the browser, reloaded ... The first column in the output is the attribute name, - such as nixos.thunderbird. The nixos - 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 nixos.thunderbird. + + + Note: the nixos prefix tells us that we want to get the + package from the nixos channel and works only in CLI tools. + + In declarative configuration use pkgs prefix (variable).