forked from DGNum/colmena
hive: Pass --read-write-mode
to nix-instantiate --eval
This enables the use of IFD inside `meta` and node `deployment.*` options, from which we obtain the values with `nix-instantiate --eval`. Fixes #45.
This commit is contained in:
parent
e609301a72
commit
39f597f778
1 changed files with 2 additions and 1 deletions
|
@ -374,7 +374,8 @@ impl<'hive> NixInstantiate<'hive> {
|
|||
|
||||
fn eval(self) -> Command {
|
||||
let mut command = self.instantiate();
|
||||
command.arg("--eval").arg("--json");
|
||||
command.arg("--eval").arg("--json")
|
||||
.arg("--read-write-mode"); // For cases involving IFD
|
||||
command
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue