2020-06-29 15:03:21 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
2021-03-19 18:49:51 +01:00
|
|
|
let
|
2022-01-30 17:06:58 +01:00
|
|
|
gitignoreNix = import
|
|
|
|
(pkgs.fetchFromGitHub {
|
|
|
|
owner = "hercules-ci";
|
|
|
|
repo = "gitignore";
|
|
|
|
rev = "f9e996052b5af4032fe6150bba4a6fe4f7b9d698";
|
|
|
|
sha256 = "0jrh5ghisaqdd0vldbywags20m2cxpkbbk5jjjmwaw0gr8nhsafv";
|
|
|
|
})
|
|
|
|
{ inherit (pkgs) lib; };
|
2021-03-19 18:49:51 +01:00
|
|
|
|
2022-01-30 17:06:58 +01:00
|
|
|
in
|
|
|
|
{
|
2021-03-19 18:49:51 +01:00
|
|
|
__functor = _: gitignoreNix.gitignoreSource;
|
|
|
|
|
|
|
|
# expose extra functions here
|
|
|
|
inherit (gitignoreNix)
|
|
|
|
gitignoreFilter
|
|
|
|
;
|
|
|
|
}
|