fix(xan): Build without nixpkgs in NIX_PATH

CI doesn't have a nixpkgs channel (obvs), and we want to be able to
build from the depot tree, so reorder some stuff so we never depend on
nixpkgs

Change-Id: I99b513a3d7bcd64b6d167335856651e0ca66e33b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/734
This commit is contained in:
Griffin Smith 2020-06-28 20:33:25 -04:00 committed by glittershark
parent 93d1ab7a54
commit 48cc610fa4
3 changed files with 8 additions and 12 deletions

View file

@ -1,9 +1,6 @@
{ nixpkgs ? import ./nixpkgs.nix {}
,
}:
{ pkgs ? import ./nixpkgs.nix {} }:
let
inherit (builtins) filterSource elem not;
inherit (nixpkgs) pkgs;
gitignoreSource = (import (pkgs.fetchFromGitHub {
owner = "hercules-ci";
repo = "gitignore";