nixpkgs: Tests nixos' tested job

This commit is contained in:
Samuel Dionne-Riel 2019-03-24 23:04:12 -04:00
parent dd33b27654
commit 399f301d02

View file

@ -398,6 +398,19 @@ impl<'a> EvaluationStrategy for NixpkgsStrategy<'a> {
],
self.nix.clone(),
),
EvalChecker::new(
"nixos",
nix::Operation::Instantiate,
vec![
String::from("--arg"),
String::from("nixpkgs"),
String::from("{ outPath=./.; revCount=999999; shortRev=\"ofborg\"; }"),
String::from("./nixos/release-combined.nix"),
String::from("-A"),
String::from("tested"),
],
self.nix.clone(),
),
EvalChecker::new(
"nixos-options",
nix::Operation::Instantiate,