stockholm/krebs/5pkgs/haskell/default.nix

16 lines
420 B
Nix
Raw Normal View History

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 ./.))));
};
}