tvl-depot/users/grfn/xanthous/shell.nix
Griffin Smith 80d501d553 fix(grfn/xanthous): Update shell for new depot structure
Since 473604f567 (CL/2910), depot hasn't
been directly exposing `pkgs` as an attribute, instead exposing it via
third_party.nixpkgs - the xanthous shell.nix isn't checked in CI, so it
was missed as part of that refactor - this updates it to be in line with
that

Change-Id: I12b081c16d53c6798f51ec6660ffa6d345870580
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3176
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2021-06-12 15:54:28 +00:00

20 lines
453 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
];
}