diff options
author | tv <tv@krebsco.de> | 2017-05-24 01:57:28 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-05-24 01:57:28 +0200 |
commit | eae210f8ff05b7f59ab62ba161c86971dbd7f50e (patch) | |
tree | 037d7ad582303b21230a323c2e3e500ed454c911 /krebs/5pkgs/haskell/default.nix | |
parent | 17df5f0c453d891b29dbb6a9d189fc8dcf88fac0 (diff) |
krebs/5pkgs: move haskell stuff to a subdir
Diffstat (limited to 'krebs/5pkgs/haskell/default.nix')
-rw-r--r-- | krebs/5pkgs/haskell/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/krebs/5pkgs/haskell/default.nix b/krebs/5pkgs/haskell/default.nix new file mode 100644 index 000000000..1120356a7 --- /dev/null +++ b/krebs/5pkgs/haskell/default.nix @@ -0,0 +1,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 ./.)))); + }; +} |