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>
This commit is contained in:
Griffin Smith 2021-06-05 03:05:01 +02:00 committed by grfn
parent 702594ca64
commit 80d501d553

View file

@ -1,7 +1,11 @@
{ pkgs ? (import ../../../. {}).third_party, ... }: let
depot = import ../../../. {};
inherit (depot) third_party;
pkgs = third_party.nixpkgs;
in
(pkgs.haskellPackages.extend (pkgs.haskell.lib.packageSourceOverrides { (pkgs.haskellPackages.extend (pkgs.haskell.lib.packageSourceOverrides {
xanthous = pkgs.gitignoreSource ./.; xanthous = third_party.gitignoreSource ./.;
})).shellFor { })).shellFor {
packages = p: [p.xanthous]; packages = p: [p.xanthous];
withHoogle = true; withHoogle = true;