eval/nixpkgs: eval package list once with aliases

This commit is contained in:
Lily Foster 2023-06-14 13:09:41 -04:00 committed by Cole Helbling
parent 74f38efa7e
commit cda5aa2ac7

View file

@ -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,