tvl-depot/users/grfn/xanthous/shell.nix
Griffin Smith 8da2fce9ef fix(grfn/xanthous): Use correct ghc version for shell pkgs
Not having this causes haskell-language-server to complain about a
mismatch between its and the project's GHC versions.

Change-Id: Ie7584ad96532ca34a85430aa1a2211c2b91db872
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5465
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-04-16 20:30:42 +00:00

23 lines
521 B
Nix

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
]);
}