View on GitHub
File Changes
m
+2/-6
    inherit pkgs src jmPkgs;
  };

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

                      
  self = {
    inherit pkgs iohkLib src haskellPackages;
    inherit jormungandr jormungandr-cli;
      haskellBuildUtils = iohkLib.haskellBuildUtils.package;
    };

                      
-
    tests = collectChecks isCardanoWallet haskellPackages;
+
    tests = pkgs.recurseIntoAttrs (pkgs.lib.mapAttrs (_: package: package.checks)
+
       (pkgs.lib.filterAttrs (_: package: isCardanoWallet package) haskellPackages));
    benchmarks = collectComponents "benchmarks" isCardanoWallet haskellPackages;

                      
    dockerImage = pkgs.callPackage ./nix/docker.nix {
m
+3/-2

                      
{
  isCardanoWallet = package:
-
    (hasPrefix "cardano-wallet" package.identifier.name) ||
-
    (elem package.identifier.name [ "text-class" "bech32" ]);
+
    (package.isHaskell or false) &&
+
      ((hasPrefix "cardano-wallet" package.identifier.name) ||
+
       (elem package.identifier.name [ "text-class" "bech32" ]));

                      
  inherit (pkgs.haskell-nix.haskellLib) collectComponents;
}