lix/doc/manual/rl-next/nix-flake-update-ux.md
eldritch horrors 7229046fc4 manual: fix release notes
fix key spelling errors, type errors, things-should-not-be-comments errors

Change-Id: I3ce12873aa78002bca686bd88404771895b05d30
2024-03-27 03:09:14 +00:00

946 B

synopsis prs
`Overhaul `nix flake update` and `nix flake lock` UX 8817

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.