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(".")],
|
||||
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(
|
||||
"lib-tests",
|
||||
nix::Operation::Build,
|
||||
|
|
Loading…
Reference in a new issue