From 30b31a8f6190dad40ca972b445420e10f47a9afc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 8 Jan 2004 16:56:40 +0000 Subject: * Start of nix-env reference. * Some CSS tweaks. --- doc/manual/nix-env.xml | 166 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 doc/manual/nix-env.xml (limited to 'doc/manual/nix-env.xml') diff --git a/doc/manual/nix-env.xml b/doc/manual/nix-env.xml new file mode 100644 index 000000000000..d8b50bf3cd07 --- /dev/null +++ b/doc/manual/nix-env.xml @@ -0,0 +1,166 @@ + + + nix-env + manipulate or query Nix user environments + + + + + nix-env + + + + + + + + + + + + + + path + + operation + options + arguments + + + + + Description + + + The command nix-env is used to manipulate Nix + user environments. User environments are sets of software + components available to a user at some point in time. In other + words, they are a synthesised view of the programs available in + the Nix store. There may be many user environments: different + users can have different environments, and individual users can + switch between different environments. + + + + + + nix-env takes exactly one + operation flag which indicates the + subcommand to be performed. These are documented below. + + + + + + + + + + Common options + + + This section lists the options that are common to all + operations. These options are allowed for every subcommand, + though they may not always have an effect. + + + + + &opt-verbose; + + + + + + Specifies the Nix expression used by the + , , + and operations to + obtain derivations. The default is + ~/.nix-defexpr. + + + + + + + + + + + + + + Files + + + + + ~/.nix-defexpr + + + The default Nix expression used by the + , , + and operations to + obtain derivations. It is generally a symbolic link to + some other location set using the + operation. The + option may be used to override + this default. + + + + + + ~/.nix-userenv + + + A symbolic link to the user's current user environment. + By default, it points to + prefix/var/nix/links/current. + The PATH environment variable should + include ~/.nix-userenv for the use + environments to be visible to the user. + + + + + + + + + + + + + + Operation <option>--install</option> + + + Synopsis + + nix-env + + + + + + + + Description + + + + + + + + + + -- cgit 1.4.1