aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-05-22 13:46:07 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-05-22 14:04:18 +0200
commit70136a9bf46bcf5a97b63f356fefd8adabf4c23b (patch)
treed3866589dacd3c816cf16fc4e1fbdbb606e9ad42 /src/libexpr
parentbc0fb109a946a1c3e125a5148280a0caba2d2c9a (diff)
Move flake-related flags into a separate class
Also, rename --dont-save-lock-file to --no-save-lock-file and change noRegistries to useRegistries.
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops/flake.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/flake.hh b/src/libexpr/primops/flake.hh
index 677cdb7b7..8eaac9d96 100644
--- a/src/libexpr/primops/flake.hh
+++ b/src/libexpr/primops/flake.hh
@@ -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