summaryrefslogtreecommitdiff
path: root/overlays.nix
blob: 5da2957f8b346a010f37e5d124621508363470a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
self: super:

let
 claySrc = super.pkgs.fetchFromGitHub {
    owner = "sebastiaanvisser";
    repo = "clay";
    rev = "cc7729b1b42a79e261091ff7835f7fc2a7ae3cee";
    sha256 = "1vd67976lvi5l4qq18zy6j44apynkl44ps04p8vwfx4gzr895dyp";
  };
in {
  haskell = super.haskell // {
    packages = super.haskell.packages // {
      ghc865 = super.haskell.packages.ghc865.override (old: {
        overrides = with super.pkgs.haskell.lib; self: super: {
          clay = self.callCabal2nix "clay" claySrc {};
          wai-middleware-metrics = dontCheck super.wai-middleware-metrics;
        };
      });
      ghcjs = super.haskell.packages.ghcjs.override (old: {
        overrides = with super.haskell.lib; self: super: {
          QuickCheck = dontCheck super.QuickCheck;
          base-compat-batteries = dontCheck super.http-types;
          clay = dontCheck (self.callCabal2nix "clay" claySrc {});
          comonad = dontCheck super.comonad;
          http-types = dontCheck super.http-types;
          network-uri= dontCheck super.network-uri;
          scientific = dontCheck super.scientific; # takes forever
          servant = dontCheck super.servant;
          tasty-quickcheck = dontCheck super.tasty-quickcheck;
          time-compat = dontCheck super.time-compat;
        };
      });
    };
  };
}