Merge pull request #339 from NixOS/eval-darwin

Test darwin-tested during evaluation phase
This commit is contained in:
Graham Christensen 2019-03-24 14:48:27 -04:00 committed by GitHub
commit 836b629629
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(),
),
]
}