blob: c0a928f835e5272d9e690c228361c9d07ccf861d (
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
|
{ pkgs ? import <nixpkgs> { } }:
let
haskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
atom-conduit = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendPatch super.atom-conduit ./atom-conduit.patch);
feed-nomath-org = self.callCabal2nix "feed-nomath-org" ./. { };
};
};
in
rec {
inherit (haskellPackages) feed-nomath-org;
shell = haskellPackages.shellFor {
packages = _: [
feed-nomath-org
haskellPackages.atom-conduit
];
buildInputs = [
haskellPackages.cabal2nix
haskellPackages.cabal-install
haskellPackages.ormolu
];
withHoogle = true;
withHaddock = true;
};
}
|