1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 20:46:01 +01:00
Commit graph

5 commits

Author SHA1 Message Date
John Ericson
54d684e1de Call it "store derivation", again, but keep "derivation expression"
A compromise that also should cut down on the diff.
2025-02-05 22:03:43 -05:00
John Ericson
16bd5a44ef Merge branch 'master' into document-derivation-and-deriving-path 2025-01-19 11:45:55 -05:00
Andy Hamon
3716ded8df nix-env: add a --priority flag to --install
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.
2025-01-16 11:46:25 -08:00
John Ericson
a654cc2a72 WIP document derivations and deriving paths
And get rid of "store derivation" nonsense.
2024-11-17 21:33:07 -05:00
John Ericson
eb7d7780b1 Rename doc/manual{src -> source}
This is needed to avoid this
https://github.com/mesonbuild/meson/issues/13774 when we go back to
making our subproject directory `src`.
2024-10-14 11:21:24 -04:00
Renamed from doc/manual/src/command-ref/nix-env/install.md (Browse further)