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>2004-01-05T11·18+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-01-05T11·18+0000
commitf83c5e3e5f3e6b33c095d6559a4b3cd5922e88ce (patch)
treea54f68b0882367374c88d58a6812461c7b40be0c /src/nix-env/help.txt
parent0e68af0ce380b09c14ff36084499c0d8a6590b25 (diff)
* Implemented Eelco V.'s `-p' command to switch profiles. It switches
  the symlink ~/.nix-userenv to the given argument (which defaults to
  .../links/current).  /etc/profile.d/nix-profile creates this symlink
  if it doesn't exist yet.  Example use:

  $ nix-env -l my_profile -i foo.nix subversion quake
  $ nix-env -p my_profile

  I don't like the term "profile".  Let's deprecate it :-)

Diffstat (limited to 'src/nix-env/help.txt')
-rw-r--r--src/nix-env/help.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-env/help.txt b/src/nix-env/help.txt
index d940bd209d60..3f15e6a8e2de 100644
--- a/src/nix-env/help.txt
+++ b/src/nix-env/help.txt
@@ -12,6 +12,8 @@ Operations:
 The previous operations take a list of derivation names.  The special
 name `*' may be used to indicate all derivations.
 
+  --profile / -p [FILE]: switch to specified user environment 
+
   --version: output version information
   --help: display help