Skip to content

Commit

Permalink
Try out a collectChecks function for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Dec 3, 2019
1 parent bbeb547 commit 4d6d002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ let
};

collectChecks = packageSel: haskellPackages:
(lib.mapAttrs (_: package: package.checks // { recurseForDerivations = true; })
(lib.filterAttrs (name: package: (package.isHaskell or false) && packageSel package) haskellPackages))
(pkgs.lib.mapAttrs (_: package: package.checks // { recurseForDerivations = true; })
(pkgs.lib.filterAttrs (name: package: (package.isHaskell or false) && packageSel package) haskellPackages))
// { recurseForDerivations = true; };

self = {
Expand Down

0 comments on commit 4d6d002

Please sign in to comment.