nix icon indicating copy to clipboard operation
nix copied to clipboard

nixos-rebuild: why is --update-input and --recreate-lock-file deprecated?

Open MoltenMonster opened this issue 1 month ago • 1 comments

It's very convenient to specify either of those flags in system.autoUpgrade to regularly update my flake.lock file.

warning: '--recreate-lock-file' is deprecated and will be removed in a future version; use 'nix flake update' instead.
warning: '--update-input' is a deprecated alias for 'flake update' and will be removed in a future version.

MoltenMonster avatar Nov 26 '25 14:11 MoltenMonster

I agree that those flags should not be removed, and there is no reason to remove them..

edolstra avatar Dec 05 '25 12:12 edolstra