summaryrefslogtreecommitdiffstats
path: root/default.nix
blob: 830ada3fbe8460fca3e672983607ae32a96d66a0 (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
{ pkgs ? import <nixpkgs> { } }:
let
  haskellPackages = pkgs.haskellPackages.override {
    overrides = self: super: {
      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;
  };
}