40d0792405
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 <mail@tazj.in>
8 lines
258 B
Nix
8 lines
258 B
Nix
{ pkgs, ... }:
|
|
|
|
(import (pkgs.fetchFromGitHub {
|
|
owner = "hercules-ci";
|
|
repo = "gitignore";
|
|
rev = "f9e996052b5af4032fe6150bba4a6fe4f7b9d698";
|
|
sha256 = "0jrh5ghisaqdd0vldbywags20m2cxpkbbk5jjjmwaw0gr8nhsafv";
|
|
}) { inherit (pkgs) lib; }).gitignoreSource
|