aboutsummaryrefslogtreecommitdiff
path: root/src/nix/command.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/command.hh')
-rw-r--r--src/nix/command.hh7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh
index 5d0c0c82c..a52fbb9ba 100644
--- a/src/nix/command.hh
+++ b/src/nix/command.hh
@@ -66,11 +66,6 @@ struct Installable
Buildable toBuildable();
- virtual std::optional<std::string> installableToFlakeUri()
- {
- return std::nullopt;
- }
-
virtual Value * toValue(EvalState & state)
{
throw Error("argument '%s' cannot be evaluated", what());
@@ -81,6 +76,8 @@ struct SourceExprCommand : virtual Args, StoreCommand, MixEvalArgs
{
std::optional<Path> file;
+ bool updateLockFile = true;
+
SourceExprCommand();
ref<EvalState> getEvalState();