aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/quick-start.md
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-11-17 16:30:39 +0100
committerJan Tojnar <jtojnar@gmail.com>2021-11-17 17:04:25 +0100
commitca4d8ce9e22ef04687b1516c9472a5d3f82e056b (patch)
treee7560aabd3d472391776070745e8a9dcb37ac0aa /doc/manual/src/quick-start.md
parent480c883f363912df611c545b05ae0f6f1b9a6c61 (diff)
doc: De-emphasize nix-env without -A
The manual uses `nix-env -i` without `-A` prominently, teaching a bad practice to newcomers.
Diffstat (limited to 'doc/manual/src/quick-start.md')
-rw-r--r--doc/manual/src/quick-start.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/manual/src/quick-start.md b/doc/manual/src/quick-start.md
index 71205923b..b54e73500 100644
--- a/doc/manual/src/quick-start.md
+++ b/doc/manual/src/quick-start.md
@@ -19,19 +19,19 @@ to subsequent chapters.
channel:
```console
- $ nix-env -qa
- docbook-xml-4.3
- docbook-xml-4.5
- firefox-33.0.2
- hello-2.9
- libxslt-1.1.28
+ $ nix-env -qaP
+ nixpkgs.docbook_xml_dtd_43 docbook-xml-4.3
+ nixpkgs.docbook_xml_dtd_45 docbook-xml-4.5
+ nixpkgs.firefox firefox-33.0.2
+ nixpkgs.hello hello-2.9
+ nixpkgs.libxslt libxslt-1.1.28
```
1. Install some packages from the channel:
```console
- $ nix-env -i hello
+ $ nix-env -iA nixpkgs.hello
```
This should download pre-built packages; it should not build them