diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-12-11 07:42:36 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-12-11 07:42:36 +0100 |
commit | 9971dd1a6af1c1627dcb137dd8340514683d778d (patch) | |
tree | 9b660874aedb0e989063e1a89ea4bb8b79265f1e /lib/get-tests.nix | |
parent | aa6741135cb7e78ab038eee798067f2df32bb6d9 (diff) |
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'lib/get-tests.nix')
-rw-r--r-- | lib/get-tests.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/get-tests.nix b/lib/get-tests.nix index 0f93a5bb..08fc9475 100644 --- a/lib/get-tests.nix +++ b/lib/get-tests.nix @@ -1,4 +1,7 @@ -{ system ? builtins.currentSystem, nixpkgs ? import ../nixpkgs-path.nix }: +{ system ? builtins.currentSystem +, nixpkgs ? import ../nixpkgs-path.nix +, vuizvuiTests ? ../tests +}: with import "${nixpkgs}/lib"; @@ -13,7 +16,7 @@ with import "${nixpkgs}/lib"; reduce = attr: if isTestOrJob attr then attr else attr.${system}; in mapAttrsRecursiveCond cond (path: reduce) upstreamTests; - vuizvui = import ../tests { + vuizvui = import vuizvuiTests { inherit system; }; } |