about summary refs log tree commit diff
path: root/users/glittershark/owothia/shell.nix
blob: 4a89fa0a5d7e116d27e68e2ee6a5868a2acacc9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ pkgs ? (import ../../../. {}).third_party, ... }:

let
  inherit (pkgs)
    haskellPackages
    haskell
    gitignoreSource
    ;
in

(haskellPackages.extend (haskell.lib.packageSourceOverrides {
  owothia = gitignoreSource ./.;
})).shellFor {
  packages = p: [ p.owothia ];
  withHoogle = true;
  doBenchmark = true;
  buildInputs = with haskellPackages; [
    cabal-install
    hlint
    # TODO(sterni): versions out of sync
    # pkgs.haskell-language-server.ghc884
  ];
}