Merge pull request #94960 from symphorien/gitignore
nix-gitignore: filter-out .git
This commit is contained in:
commit
4eb94d0ca1
@ -150,10 +150,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 New Issue
Block a user