tvl-depot/users/grfn/xanthous/shell.nix
Griffin Smith 72d9e11a8f feat(xanthous): Install qpdf in the shell
This gets us the zlib-flate command line utility, which is useful for
decompressing our zlib-compressed save files and poking around in the
JSON

Change-Id: Ia0d8259d261c4313322d68cc8409ba13f9fb570c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3217
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2021-06-18 17:51:43 +00:00

23 lines
500 B
Nix

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