about summary refs log blame commit diff
path: root/users/grfn/xanthous/shell.nix
blob: 572ed211bcf46b642c5d472505ef85501cd485c3 (plain) (tree)
1
2
3
4
5
6
7
8




                               
 
                                                                       
                                             


                             
                     
                                             


                       
         
                           
             


                     
 
let
  depot = import ../../../. {};
  inherit (depot) third_party;
  pkgs = third_party.nixpkgs;
in

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