mirror of
https://github.com/NixOS/nix
synced 2025-07-05 12:21:48 +02:00
HandleLockFile -> LockFileMode
This commit is contained in:
parent
cd973fa07f
commit
2b8ca654b0
4 changed files with 23 additions and 33 deletions
|
@ -13,7 +13,7 @@ namespace fetchers { struct Tree; }
|
|||
|
||||
namespace flake {
|
||||
|
||||
enum HandleLockFile : unsigned int
|
||||
enum LockFileMode : 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
|
||||
|
@ -54,7 +54,7 @@ struct LockedFlake
|
|||
Fingerprint getFingerprint() const;
|
||||
};
|
||||
|
||||
LockedFlake lockFlake(EvalState &, const FlakeRef &, HandleLockFile);
|
||||
LockedFlake lockFlake(EvalState &, const FlakeRef &, LockFileMode);
|
||||
|
||||
void callFlake(EvalState & state,
|
||||
const Flake & flake,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue