aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake/flake.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-01-24 13:07:03 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-01-24 13:07:52 +0100
commit2b8ca654b058cf18101a5243090706be97930275 (patch)
treec3a101d91a1c8180b293abd095c666b8caafbfe8 /src/libexpr/flake/flake.hh
parentcd973fa07f4939b6f21b7254c795e347d31fce74 (diff)
HandleLockFile -> LockFileMode
Diffstat (limited to 'src/libexpr/flake/flake.hh')
-rw-r--r--src/libexpr/flake/flake.hh4
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,