forked from the-distro/ofborg
nix: run all operations with "--option extra-experimental-features 'no-url-literals'"
This commit is contained in:
parent
12f7ba6a3d
commit
9194ace589
|
@ -56,10 +56,10 @@ 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"]);
|
command.args(&["--no-out-link", "--keep-going", "--option", "experimental-features", "no-url-literals"]);
|
||||||
}
|
}
|
||||||
Operation::QueryPackagesJson => {
|
Operation::QueryPackagesJson => {
|
||||||
command.args(&["--query", "--available", "--json"]);
|
command.args(&["--query", "--available", "--json", "--option", "experimental-features", "no-url-literals"]);
|
||||||
}
|
}
|
||||||
Operation::QueryPackagesOutputs => {
|
Operation::QueryPackagesOutputs => {
|
||||||
command.args(&[
|
command.args(&[
|
||||||
|
@ -68,13 +68,16 @@ impl Operation {
|
||||||
"--no-name",
|
"--no-name",
|
||||||
"--attr-path",
|
"--attr-path",
|
||||||
"--out-path",
|
"--out-path",
|
||||||
|
"--option",
|
||||||
|
"experimental-features",
|
||||||
|
"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"]);
|
command.args(&["--eval", "--strict", "--json", "--option", "experimental-features", "no-url-literals"]);
|
||||||
}
|
}
|
||||||
_ => (),
|
_ => (),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue