nix-gitignore: filter-out .git
This commit is contained in:
parent
8e2b14aceb
commit
a5a383a389
1 changed files with 2 additions and 2 deletions
|
@ -148,10 +148,10 @@ in rec {
|
|||
'');
|
||||
|
||||
withGitignoreFile = patterns: root:
|
||||
lib.toList patterns ++ [(root + "/.gitignore")];
|
||||
lib.toList patterns ++ [ ".git" ] ++ [(root + "/.gitignore")];
|
||||
|
||||
withRecursiveGitignoreFile = patterns: root:
|
||||
lib.toList patterns ++ [(compileRecursiveGitignore root)];
|
||||
lib.toList patterns ++ [ ".git" ] ++ [(compileRecursiveGitignore root)];
|
||||
|
||||
# filterSource derivatives
|
||||
|
||||
|
|
Loading…
Reference in a new issue