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

(pkgs.haskellPackages.extend (pkgs.haskell.lib.packageSourceOverrides {
  xanthous = pkgs.gitignoreSource ./.;
})).shellFor {
  packages = p: [p.xanthous];
  withHoogle = true;
  buildInputs = with pkgs.haskellPackages; [
    cabal-install
    ghc-prof-flamegraph
    hp2pretty
  ];

  nativeBuildInputs = [
    (import ./hie.nix { inherit pkgs; })
  ];
}