about summary refs log tree commit diff
path: root/third_party/gitignoreSource/default.nix
blob: 8bdd974e8dbed70cc3161906b139ecb0e4e955e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, ... }:

let
  gitignoreNix = import (pkgs.fetchFromGitHub {
    owner = "hercules-ci";
    repo = "gitignore";
    rev = "f9e996052b5af4032fe6150bba4a6fe4f7b9d698";
    sha256 = "0jrh5ghisaqdd0vldbywags20m2cxpkbbk5jjjmwaw0gr8nhsafv";
  }) { inherit (pkgs) lib; };

in {
  __functor = _: gitignoreNix.gitignoreSource;

  # expose extra functions here
  inherit (gitignoreNix)
    gitignoreFilter
    ;
}