use callpackage to simplify imports
This commit is contained in:
parent
f417372fdc
commit
750621e1ef
1 changed files with 1 additions and 4 deletions
|
@ -61,10 +61,7 @@
|
||||||
checks =
|
checks =
|
||||||
let
|
let
|
||||||
importFiles = files:
|
importFiles = files:
|
||||||
map (m: import m {
|
map (m: pkgs.callPackage m {}) files;
|
||||||
inherit pkgs;
|
|
||||||
inherit (pkgs) lib;
|
|
||||||
}) files;
|
|
||||||
|
|
||||||
mergeTests = pkgs.lib.lists.foldl pkgs.lib.trivial.mergeAttrs {};
|
mergeTests = pkgs.lib.lists.foldl pkgs.lib.trivial.mergeAttrs {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue