From 613b112c7a72453d1389c6dd07859d5fc1c46230 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sun, 24 Mar 2019 14:33:06 -0400 Subject: [PATCH] Test darwin-tested during evaluation phase --- ofborg/src/tasks/eval/nixpkgs.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ofborg/src/tasks/eval/nixpkgs.rs b/ofborg/src/tasks/eval/nixpkgs.rs index 72a9e72..b7126f6 100644 --- a/ofborg/src/tasks/eval/nixpkgs.rs +++ b/ofborg/src/tasks/eval/nixpkgs.rs @@ -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(), + ), ] }