From 40d079240578dd19f1552f6cf610e10396cc8569 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 29 Jun 2020 09:03:21 -0400 Subject: [PATCH] feat(3p): Add gitignoreSource I've done a small amount of investigation and settled on this as my favorite gitignore source filter function out of the several that are available. Change-Id: Idf1f2f643acc7f8e44de6c0c8702b16e0d37face Reviewed-on: https://cl.tvl.fyi/c/depot/+/762 Tested-by: BuildkiteCI Reviewed-by: tazjin --- third_party/gitignoreSource/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 third_party/gitignoreSource/default.nix diff --git a/third_party/gitignoreSource/default.nix b/third_party/gitignoreSource/default.nix new file mode 100644 index 000000000..d9d026244 --- /dev/null +++ b/third_party/gitignoreSource/default.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: + +(import (pkgs.fetchFromGitHub { + owner = "hercules-ci"; + repo = "gitignore"; + rev = "f9e996052b5af4032fe6150bba4a6fe4f7b9d698"; + sha256 = "0jrh5ghisaqdd0vldbywags20m2cxpkbbk5jjjmwaw0gr8nhsafv"; +}) { inherit (pkgs) lib; }).gitignoreSource