diff options
author | Erik Arvstedt <erik.arvstedt@gmail.com> | 2022-03-26 11:32:38 +0100 |
---|---|---|
committer | Erik Arvstedt <erik.arvstedt@gmail.com> | 2022-03-26 11:32:38 +0100 |
commit | 16860a0328094c04c3e877089119a56f9ddfbcd6 (patch) | |
tree | 1f3999b4263604737d27ed0b612ea2201d40696f /src/nix/eval.cc | |
parent | 679b3b32c952eed3c3be6c450c8189948e5645cd (diff) |
nix eval: Add option `read-only`
Diffstat (limited to 'src/nix/eval.cc')
-rw-r--r-- | src/nix/eval.cc | 2 |
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", |