aboutsummaryrefslogtreecommitdiff
path: root/src/nix/eval.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-04-19 22:27:21 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-04-19 22:27:21 +0000
commit55caef36ed1cee2e924c82cf49b3ceb17bdde910 (patch)
tree78af86998140b242713a2c54f35bad45b4cc4449 /src/nix/eval.cc
parent13c669105ca93d28ca1a78321f07fd4ddbb445b1 (diff)
parentee57f91413c9d01f1027eccbe01f7706c94919ac (diff)
Merge remote-tracking branch 'upstream/master' into path-info
Diffstat (limited to 'src/nix/eval.cc')
-rw-r--r--src/nix/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/eval.cc b/src/nix/eval.cc
index 8cd04d5fe..733b93661 100644
--- a/src/nix/eval.cc
+++ b/src/nix/eval.cc
@@ -16,7 +16,7 @@ struct CmdEval : MixJSON, InstallableCommand
std::optional<std::string> apply;
std::optional<Path> writeTo;
- CmdEval()
+ CmdEval() : InstallableCommand(true /* supportReadOnlyMode */)
{
addFlag({
.longName = "raw",