Merge pull request #342 from samueldr/instantiate/tested

nixpkgs: Tests nixos' `tested` job
This commit is contained in:
Graham Christensen 2019-04-21 20:05:29 -04:00 committed by GitHub
commit e42209177e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,