about summary refs log tree commit diff
path: root/src/nix-env/help.txt
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-07-25T11·53+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-07-25T11·53+0000
commit5744dd548039b9a8666a414dcb66629322e5af21 (patch)
treeecae6153bee7c028bce7e978875a15984f18fe1c /src/nix-env/help.txt
parent7a3a5d1608254565030ae8ceb593605962a2614e (diff)
* Support the --attr / -A flag in nix-env as well. So now we can do,
  e.g.,

  $ nix-env -i -A subversion xorg.xorgserver

  The main advantage over using symbolic names is that using attribute
  names is unambiguous and much, much faster.

Diffstat (limited to 'src/nix-env/help.txt')
-rw-r--r--src/nix-env/help.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nix-env/help.txt b/src/nix-env/help.txt
index e8319477415f..3287bab28eae 100644
--- a/src/nix-env/help.txt
+++ b/src/nix-env/help.txt
@@ -28,6 +28,15 @@ Install / upgrade / uninstall flags:
 
   --dry-run: show what would be done, but don't do it
 
+Installation sources:
+
+  --from-expression / -E EXPR...: evaluate expressions specified on
+      the command line; expressions should be functions that take the
+      default Nix expression as an argument
+  --from-profile PROFILE NAMES...: copy named packages from PROFILE
+  --attr / -A ATTRS...: select attributes by name from the default Nix
+      expression
+
 Upgrade flags:
 
   --lt: upgrade if the current version is older (default)