summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/haskell/default.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/krebs/5pkgs/haskell/default.nix b/krebs/5pkgs/haskell/default.nix
index 64c5f9257..7cdf65ea5 100644
--- a/krebs/5pkgs/haskell/default.nix
+++ b/krebs/5pkgs/haskell/default.nix
@@ -11,9 +11,13 @@ let
in
self: super:
{
- haskell.packages = mapAttrs (_: pkgs: pkgs.override {
- inherit overrides;
- }) super.haskell.packages;
+ haskell = super.haskell // {
+ packages = mapAttrs (name: value:
+ if hasAttr "override" value
+ then value.override { inherit overrides; }
+ else value
+ ) super.haskell.packages;
+ };
haskellPackages = super.haskellPackages.override {
inherit overrides;
};