forked from the-distro/ofborg
nix: rustfmt
This commit is contained in:
parent
686d469dba
commit
bc70305de9
|
@ -56,10 +56,23 @@ impl Operation {
|
||||||
fn args(&self, command: &mut Command) {
|
fn args(&self, command: &mut Command) {
|
||||||
match *self {
|
match *self {
|
||||||
Operation::Build => {
|
Operation::Build => {
|
||||||
command.args(&["--no-out-link", "--keep-going", "--option", "experimental-features", "no-url-literals"]);
|
command.args(&[
|
||||||
|
"--no-out-link",
|
||||||
|
"--keep-going",
|
||||||
|
"--option",
|
||||||
|
"experimental-features",
|
||||||
|
"no-url-literals",
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
Operation::QueryPackagesJson => {
|
Operation::QueryPackagesJson => {
|
||||||
command.args(&["--query", "--available", "--json", "--option", "experimental-features", "no-url-literals"]);
|
command.args(&[
|
||||||
|
"--query",
|
||||||
|
"--available",
|
||||||
|
"--json",
|
||||||
|
"--option",
|
||||||
|
"experimental-features",
|
||||||
|
"no-url-literals",
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
Operation::QueryPackagesOutputs => {
|
Operation::QueryPackagesOutputs => {
|
||||||
command.args(&[
|
command.args(&[
|
||||||
|
@ -70,14 +83,21 @@ impl Operation {
|
||||||
"--out-path",
|
"--out-path",
|
||||||
"--option",
|
"--option",
|
||||||
"experimental-features",
|
"experimental-features",
|
||||||
"no-url-literals"
|
"no-url-literals",
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
Operation::NoOp { ref operation } => {
|
Operation::NoOp { ref operation } => {
|
||||||
operation.args(command);
|
operation.args(command);
|
||||||
}
|
}
|
||||||
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 => {
|
Operation::Instantiate => {
|
||||||
command.args(&["--option", "experimental-features", "no-url-literals"])
|
command.args(&["--option", "experimental-features", "no-url-literals"])
|
||||||
|
|
Loading…
Reference in a new issue