mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
Move flake-related flags into a separate class
Also, rename --dont-save-lock-file to --no-save-lock-file and change noRegistries to useRegistries.
This commit is contained in:
parent
bc0fb109a9
commit
70136a9bf4
4 changed files with 56 additions and 34 deletions
|
@ -64,7 +64,7 @@ typedef std::vector<std::shared_ptr<FlakeRegistry>> Registries;
|
|||
|
||||
Path getUserRegistryPath();
|
||||
|
||||
enum HandleLockFile
|
||||
enum HandleLockFile : unsigned int
|
||||
{ AllPure // Everything is handled 100% purely
|
||||
, TopRefUsesRegistries // The top FlakeRef uses the registries, apart from that, everything happens 100% purely
|
||||
, UpdateLockFile // Update the existing lockfile and write it to file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue