aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/default.nix
blob: 660a462d38e900c4583eaf92ce337c1e9ad55d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ sources ? import ../nix/sources.nix
}:
(self: super:
  let pkgs = self; in
  {
    haskell = super.haskell // {
      packageOverrides = pkgs.lib.composeManyExtensions [
        super.haskell.packageOverrides
        (self: super: {
          acms = self.callCabal2nix "acms" ../acms { };
          astore = self.callCabal2nix "astore" sources.json2sql { };
          autotypes = self.callCabal2nix "autotypes" ../autotypes { };
          frontend = self.callCabal2nix "frontend" ../frontend { };
          sh = pkgs.haskell.lib.dontCheck (self.callCabal2nix "sh" sources.sh { });
          websockets = pkgs.haskell.lib.doJailbreak super.websockets;
        })
      ];
    };
  })