mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
nixpkgs-fmt lib.nix
This commit is contained in:
parent
924746ff9a
commit
b81a94878f
1 changed files with 2 additions and 1 deletions
3
lib.nix
3
lib.nix
|
@ -103,7 +103,8 @@ let
|
|||
isGitRoot = builtins.pathExists (path + "/.git");
|
||||
hasGitIgnore = builtins.pathExists gitIgnore;
|
||||
gitIgnores = if hasGitIgnore then [ gitIgnore ] else [];
|
||||
in lib.optionals (! isGitRoot) (findGitIgnores parent) ++ gitIgnores;
|
||||
in
|
||||
lib.optionals (! isGitRoot) (findGitIgnores parent) ++ gitIgnores;
|
||||
|
||||
/*
|
||||
Provides a source filtering mechanism that:
|
||||
|
|
Loading…
Add table
Reference in a new issue