Nix by default updates flake.lock

I’ve found that by default nix will try to upload the latest version of a flake unless given the --no-update-lock.I’ve found that other lockfile package managers (pipenv,poetry and yarn) instead only update the lockfile with an explicit command,so I would like to know the rationale for such an unobvious and nonstandard behavoir.

4 Likes