diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-instantiate/nix-instantiate.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc index b7f944062cec..1f4d1ffab8fb 100644 --- a/src/nix-instantiate/nix-instantiate.cc +++ b/src/nix-instantiate/nix-instantiate.cc @@ -107,6 +107,9 @@ void run(Strings args) settings.readOnlyMode = true; evalOnly = true; } + else if (arg == "--no-readonly-mode") { + settings.readOnlyMode = false; + } else if (arg == "--parse-only") { settings.readOnlyMode = true; parseOnly = evalOnly = true; |