summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/haskell/default.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-11-30 20:42:01 +0100
committerlassulus <lassulus@lassul.us>2018-11-30 20:42:01 +0100
commitf6b5bbc305c8e59d532d95e1c5b011b96fe1ed43 (patch)
tree4737d2417707eaaba3882ba5e873c1178af05ed2 /krebs/5pkgs/haskell/default.nix
parent7f5431a4999fea9626df300f707aa8c62de894e3 (diff)
parent574356c63e8b11abd4fb7224cff9dca1c86332a2 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/5pkgs/haskell/default.nix')
-rw-r--r--krebs/5pkgs/haskell/default.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/krebs/5pkgs/haskell/default.nix b/krebs/5pkgs/haskell/default.nix
index 7cdf65ea5..e824699f9 100644
--- a/krebs/5pkgs/haskell/default.nix
+++ b/krebs/5pkgs/haskell/default.nix
@@ -1,13 +1,6 @@
with import <stockholm/lib>;
let
- overrides = self: super:
- listToAttrs
- (map
- (name: nameValuePair (removeSuffix ".nix" name)
- (self.callPackage (./. + "/${name}") {}))
- (filter
- (name: name != "default.nix" && !hasPrefix "." name)
- (attrNames (readDir ./.))));
+ overrides = self: super: mapNixDir (path: self.callPackage path {}) ./.;
in
self: super:
{