lix/doc/manual/rl-next/nix-profile-names.md
Qyriad e0911eef73 nix3-profile: make element names stable
Based off of commit 6268a45b650f563bae2360e0540920a2959bdd40

Upstream-PR: https://github.com/NixOS/nix/pull/9656
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Change-Id: I0fcf069a8537c61ad6fc4eee1f3c193a708ea1c4
2024-05-02 12:59:15 -06:00

882 B

synopsis prs cls
`nix profile` now allows referring to elements by human-readable name, and no longer accepts indices 8678
978
980

nix profile now uses names to refer to installed packages when running list, remove or upgrade as opposed to indices. Indices have been removed. Profile element names are generated when a package is installed and remain the same until the package is removed.

Warning: The manifest.nix file used to record the contents of profiles has changed. Nix will automatically upgrade profiles to the new version when you modify the profile. After that, the profile can no longer be used by older versions of Nix.