mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 20:16:03 +01:00
nix-env can read priorities from a derivations meta attributes, but this only works when installing a nix expression. nix-env can also install bare store paths, however meta attributes are not readable in that case. This means that a store path can not be installed with a specific priority. Some cases where it is advantageous to install a store path: a remote host following a `nix copy`, or any time you want to save some evaluation time and happen to already know the store path. This PR addresses this shortcoming by adding a --priority flag to nix-env --install. |
||
|---|---|---|
| .. | ||
| delete-generations.md | ||
| env-common.md | ||
| install.md | ||
| list-generations.md | ||
| opt-common.md | ||
| query.md | ||
| rollback.md | ||
| set-flag.md | ||
| set.md | ||
| switch-generation.md | ||
| switch-profile.md | ||
| uninstall.md | ||
| upgrade.md | ||