From 2b8ca654b058cf18101a5243090706be97930275 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 24 Jan 2020 13:07:03 +0100 Subject: HandleLockFile -> LockFileMode --- src/nix/command.hh | 4 ++-- src/nix/installables.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nix') 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 -- cgit v1.2.3