From 686d469dbaf8414396d10355e0c2d3f70d17eae2 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 22 Dec 2022 09:32:44 -0800 Subject: [PATCH] nix: forbid url literals in Operation::Instantiate as well --- ofborg/src/nix.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ofborg/src/nix.rs b/ofborg/src/nix.rs index fea8c74..3c14e3c 100644 --- a/ofborg/src/nix.rs +++ b/ofborg/src/nix.rs @@ -79,6 +79,9 @@ impl Operation { Operation::Evaluate => { command.args(&["--eval", "--strict", "--json", "--option", "experimental-features", "no-url-literals"]); } + Operation::Instantiate => { + command.args(&["--option", "experimental-features", "no-url-literals"]) + } _ => (), }; }