mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02: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. |
||
---|---|---|
.. | ||
files | ||
nix-env | ||
nix-store | ||
conf-file-prefix.md | ||
env-common.md | ||
experimental-commands.md | ||
files.md | ||
index.md | ||
main-commands.md | ||
meson.build | ||
nix-build.md | ||
nix-channel.md | ||
nix-collect-garbage.md | ||
nix-copy-closure.md | ||
nix-daemon.md | ||
nix-env.md | ||
nix-hash.md | ||
nix-instantiate.md | ||
nix-prefetch-url.md | ||
nix-shell.md | ||
nix-store.md | ||
opt-common.md | ||
status-build-failure.md | ||
utilities.md |