about summary refs log tree commit diff
path: root/src/nix-env/help.txt
diff options
context:
space:
mode:
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)