summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/haskell/default.nix
blob: 1120356a7cbba7d19bb4b9c9a2b4c727c2c48349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
with import <stockholm/lib>;

self: super:
{
  haskellPackages = super.haskellPackages.override {
    overrides = self: super:
      listToAttrs
        (map
          (name: nameValuePair (removeSuffix ".nix" name)
                               (self.callPackage (./. + "/${name}") {}))
          (filter
            (name: name != "default.nix" && !hasPrefix "." name)
            (attrNames (readDir ./.))));
  };
}