mirror of
https://github.com/NixOS/nix
synced 2025-06-29 02:11:15 +02:00
nix flake update: Recreate the lock file
This is probably what most people expect it to do. Fixes #3781. There is a new command 'nix flake lock' that has the old behaviour of 'nix flake update', i.e. it just adds missing lock file entries unless overriden using --update-input.
This commit is contained in:
parent
20ea1de77d
commit
453c3a603f
6 changed files with 104 additions and 43 deletions
|
@ -140,6 +140,8 @@ public:
|
|||
|
||||
void addFlag(Flag && flag);
|
||||
|
||||
void removeFlag(const std::string & longName);
|
||||
|
||||
void expectArgs(ExpectedArg && arg)
|
||||
{
|
||||
expectedArgs.emplace_back(std::move(arg));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue