diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-01-24 13:07:03 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-01-24 13:07:52 +0100 |
commit | 2b8ca654b058cf18101a5243090706be97930275 (patch) | |
tree | c3a101d91a1c8180b293abd095c666b8caafbfe8 /src/libexpr/flake/flake.hh | |
parent | cd973fa07f4939b6f21b7254c795e347d31fce74 (diff) |
HandleLockFile -> LockFileMode
Diffstat (limited to 'src/libexpr/flake/flake.hh')
-rw-r--r-- | src/libexpr/flake/flake.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/flake/flake.hh b/src/libexpr/flake/flake.hh index a9864c5e8..eff33363d 100644 --- a/src/libexpr/flake/flake.hh +++ b/src/libexpr/flake/flake.hh @@ -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, |