mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
nix eval: Add option read-only
This commit is contained in:
parent
679b3b32c9
commit
16860a0328
3 changed files with 23 additions and 5 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue