Nix/doc/manual/rl-next/nix-profile-names.md

808 B

synopsis prs
`nix profile` now allows referring to elements by human-readable name 8678

nix profile now uses names to refer to installed packages when running list, remove or upgrade as opposed to indices. 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.