blob: a602d1336f7cb44b414f9ed403c3b6f2f0741679 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ pkgs ? import <nixpkgs> { } }:
let
haskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
abuilder = self.callCabal2nix "abuilder" ./. { };
};
};
in
rec {
inherit (haskellPackages) abuilder;
shell = haskellPackages.shellFor {
packages = _: [ abuilder ];
buildInputs = [
haskellPackages.cabal2nix
haskellPackages.cabal-install
haskellPackages.ormolu
];
withHoogle = true;
withHaddock = true;
};
}
|