eval/nixpkgs: eval package list once with aliases
This commit is contained in:
parent
74f38efa7e
commit
cda5aa2ac7
|
@ -444,6 +444,18 @@ impl<'a> EvaluationStrategy for NixpkgsStrategy<'a> {
|
||||||
vec![String::from("--file"), String::from(".")],
|
vec![String::from("--file"), String::from(".")],
|
||||||
self.nix.clone(),
|
self.nix.clone(),
|
||||||
),
|
),
|
||||||
|
EvalChecker::new(
|
||||||
|
"package-list-with-aliases",
|
||||||
|
nix::Operation::QueryPackagesJson,
|
||||||
|
vec![
|
||||||
|
String::from("--file"),
|
||||||
|
String::from("."),
|
||||||
|
String::from("--arg"),
|
||||||
|
String::from("config"),
|
||||||
|
String::from("{ allowAliases = true; }"),
|
||||||
|
],
|
||||||
|
self.nix.clone(),
|
||||||
|
),
|
||||||
EvalChecker::new(
|
EvalChecker::new(
|
||||||
"lib-tests",
|
"lib-tests",
|
||||||
nix::Operation::Build,
|
nix::Operation::Build,
|
||||||
|
|
Loading…
Reference in a new issue