about summary refs log tree commit diff
path: root/fun/owothia/shell.nix
blob: 1ad70c907baabb8753518d553a8352a8559dd06b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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
    haskell-language-server
  ];
}