Test darwin-tested during evaluation phase

This commit is contained in:
Graham Christensen 2019-03-24 14:33:06 -04:00
parent 660c8b7258
commit 613b112c7a
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

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