You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/manual/source/command-ref/nix-env/install.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
[`--from-profile`*path*]
12
12
[`--preserve-installed` | `-P`]
13
13
[`--remove-all` | `-r`]
14
+
[`--priority`*priority*]
14
15
15
16
# Description
16
17
@@ -61,6 +62,10 @@ The arguments *args* map to store paths in a number of possible ways:
61
62
The derivations returned by those function calls are installed.
62
63
This allows derivations to be specified in an unambiguous way, which is necessary if there are multiple derivations with the same name.
63
64
65
+
- If `--priority`*priority* is given, the priority of the derivations being installed is set to *priority*.
66
+
This can be used to override the priority of the derivations being installed.
67
+
This is useful if *args* are [store paths], which don't have any priority information.
68
+
64
69
- If *args* are [store derivations](@docroot@/glossary.md#gloss-store-derivation), then these are [realised], and the resulting output paths are installed.
65
70
66
71
- If *args* are [store paths] that are not store derivations, then these are [realised] and installed.
0 commit comments