mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
reword nix-env
documentation (#10718)
* reword `nix-env` documentation - added links - added an overview of package sources - clarified parsing and matching of package names Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
parent
bbe780b137
commit
50bbe22a51
2 changed files with 70 additions and 27 deletions
|
@ -14,14 +14,13 @@
|
|||
|
||||
# Description
|
||||
|
||||
The install operation creates a new user environment.
|
||||
The `--install` operation creates a new user environment.
|
||||
It is based on the current generation of the active [profile](@docroot@/command-ref/files/profiles.md), to which a set of [store paths] described by *args* is added.
|
||||
|
||||
[store paths]: @docroot@/glossary.md#gloss-store-path
|
||||
|
||||
The arguments *args* map to store paths in a number of possible ways:
|
||||
|
||||
|
||||
- By default, *args* is a set of [derivation] names denoting derivations in the [default Nix expression].
|
||||
These are [realised], and the resulting output paths are installed.
|
||||
Currently installed derivations with a name equal to the name of a derivation being added are removed unless the option `--preserve-installed` is specified.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue