nix: forbid url literals in Operation::Instantiate as well

This commit is contained in:
Cole Helbling 2022-12-22 09:32:44 -08:00
parent 9194ace589
commit 686d469dba

View file

@ -79,6 +79,9 @@ impl Operation {
Operation::Evaluate => { Operation::Evaluate => {
command.args(&["--eval", "--strict", "--json", "--option", "experimental-features", "no-url-literals"]); command.args(&["--eval", "--strict", "--json", "--option", "experimental-features", "no-url-literals"]);
} }
Operation::Instantiate => {
command.args(&["--option", "experimental-features", "no-url-literals"])
}
_ => (), _ => (),
}; };
} }