aboutsummaryrefslogtreecommitdiff
path: root/src/nix
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/nix
parentcd973fa07f4939b6f21b7254c795e347d31fce74 (diff)
HandleLockFile -> LockFileMode
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/command.hh4
-rw-r--r--src/nix/installables.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh
index fc69d7154..08fa0c5fa 100644
--- a/src/nix/command.hh
+++ b/src/nix/command.hh
@@ -16,7 +16,7 @@ struct Pos;
class Store;
namespace flake {
-enum HandleLockFile : unsigned int;
+enum LockFileMode : unsigned int;
}
/* A command that requires a Nix store. */
@@ -49,7 +49,7 @@ struct MixFlakeOptions : virtual Args
MixFlakeOptions();
- flake::HandleLockFile getLockFileMode();
+ flake::LockFileMode getLockFileMode();
};
struct SourceExprCommand : virtual Args, EvalCommand, MixFlakeOptions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc
index a42f7a76f..85b090bfc 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -35,7 +35,7 @@ MixFlakeOptions::MixFlakeOptions()
.set(&useRegistries, false);
}
-flake::HandleLockFile MixFlakeOptions::getLockFileMode()
+flake::LockFileMode MixFlakeOptions::getLockFileMode()
{
using namespace flake;
return