about summary refs log tree commit diff
path: root/users/aspen/xanthous/shell.nix
blob: 2c41cb4aa8646a3b025a1dd02d349de639732b2a (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
let
  depot = import ../../../. { };
  inherit (depot) third_party;
  pkgs = third_party.nixpkgs;
in

(pkgs.haskell.packages.ghc8107.extend (pkgs.haskell.lib.packageSourceOverrides {
  xanthous = third_party.gitignoreSource ./.;
})).shellFor {
  packages = p: [ p.xanthous ];
  withHoogle = true;
  doBenchmark = true;
  buildInputs = (with pkgs.haskell.packages.ghc8107; [
    cabal-install
    ghc-prof-flamegraph
    hp2pretty
    hlint
    haskell-language-server
    cabal2nix
  ]) ++ (with pkgs; [
    qpdf
  ]);
}