aboutsummaryrefslogtreecommitdiff
path: root/src/nix/profile-install.md
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-05-03 14:37:28 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-05-03 15:00:34 +0200
commita3c6c5b1c745a72a6a46bdf1a1de7a51a53f76b0 (patch)
treed1484046123f178724d86e265b49425e2c90628b /src/nix/profile-install.md
parent4a79cba5118f29b896f3d50164beacd4901ab01f (diff)
nix profile: Support overriding outputs
Diffstat (limited to 'src/nix/profile-install.md')
-rw-r--r--src/nix/profile-install.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nix/profile-install.md b/src/nix/profile-install.md
index e3009491e..aed414963 100644
--- a/src/nix/profile-install.md
+++ b/src/nix/profile-install.md
@@ -20,6 +20,13 @@ R""(
# nix profile install nixpkgs/d73407e8e6002646acfdef0e39ace088bacc83da#hello
```
+* Install a specific output of a package:
+
+ ```console
+ # nix profile install nixpkgs#bash^man
+ ```
+
+
# Description
This command adds *installables* to a Nix profile.