From 9971dd1a6af1c1627dcb137dd8340514683d778d Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 11 Dec 2015 07:42:36 +0100 Subject: release.nix: Properly import vuizvui tests. The tests from vuizvui itself weren't properly included in release.nix, because we're patching up our own source tree and thus the evaluator is unable to find the right path. Signed-off-by: aszlig --- release.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'release.nix') diff --git a/release.nix b/release.nix index fc72ee2b..dc51a345 100644 --- a/release.nix +++ b/release.nix @@ -63,9 +63,11 @@ in with pkgsUpstream.lib; with builtins; { tests = let machineList = collect (m: m ? build) allMachines; - allTests = import ./lib/get-tests.nix { + allTests = import ./lib/get-tests.nix ({ inherit system nixpkgs; - }; + } // optionalAttrs (vuizvuiSrc != null) { + vuizvuiTests = "${vuizvui}/tests"; + }); activatedTests = unique (concatMap (machine: machine.build.config.vuizvui.requiresTests ) machineList); -- cgit 1.4.1