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-12-12T19·06+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-12-12T19·06+0000
commit7ace29dae7bc928e5511c148408825f6d846771e (patch)
tree7fddcd48dbff25380f817312328d0996531d929f /src/nix-env/help.txt
parent1a7e88bbd9290987e72616d42c9e9d344acc2a86 (diff)
* New operation `nix-env --set' which sets a user environment to a
  single derivation specified by the argument.  This is useful when we
  want to have a profile for a single derivation, such as a server
  configuration.  Then we can just say (e.g.)

  $ nix-env -p /.../server-profile -f server.nix --set -A server

  We can't do queries or upgrades on such a profile, but we can do
  rollbacks.  The advantage over -i is that we don't have to worry
  about other packages having been installed in the profile
  previously; --set gets rid of them.

Diffstat (limited to 'src/nix-env/help.txt')
-rw-r--r--src/nix-env/help.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-env/help.txt b/src/nix-env/help.txt
index 9b49f9f4576c..534d16ad3c56 100644
--- a/src/nix-env/help.txt
+++ b/src/nix-env/help.txt
@@ -6,6 +6,7 @@ Operations:
 
   --install / -i: add derivations to the user environment
   --upgrade / -u: upgrade derivation in the user environment
+  --set: create a user environment containing a single derivation
   --uninstall / -e: remove derivations from the user environment
   --query / -q: perform a query on an environment or Nix expression