lix/doc/manual/rl-next/nix-flake-update-ux.md
Jade Lovelace 272db8af1b doc: add release note credits and categories for all the changes in Lix
This does not add missing release notes, and it doesn't do anything
about the profiles feature we would really like to have so we can have
consistent credit.

Change-Id: I72a6f7acfcff85f380be17dac76501a6f4693776
2024-05-15 14:33:35 -07:00

1,018 B

synopsis prs credits category
Overhaul `nix flake update` and `nix flake lock` UX 8817
iFreilicht
Lunaphied
thufschmitt
Breaking Changes

The interface for creating and updating lock files has been overhauled:

  • nix flake lock only creates lock files and adds missing inputs now. It will never update existing inputs.

  • nix flake update does the same, but will update inputs.

  • Passing no arguments will update all inputs of the current flake, just like it already did.

  • Passing input names as arguments will ensure only those are updated. This replaces the functionality of nix flake lock --update-input

  • To operate on a flake outside the current directory, you must now pass --flake path/to/flake.

  • The flake-specific flags --recreate-lock-file and --update-input have been removed from all commands operating on installables. They are superceded by nix flake update.