mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
Merge pull request #589 from nix-community/PR-585-CI
fix: avoid infinite recursion while searching for path #585
This commit is contained in:
commit
b39ae43cf6
1 changed files with 1 additions and 1 deletions
2
lib.nix
2
lib.nix
|
@ -180,7 +180,7 @@ let
|
|||
hasGitIgnore = builtins.pathExists gitIgnore;
|
||||
gitIgnores = if hasGitIgnore then [ gitIgnore ] else [ ];
|
||||
in
|
||||
lib.optionals (builtins.toString path != "/" && ! isGitRoot) (findGitIgnores parent) ++ gitIgnores;
|
||||
lib.optionals (builtins.pathExists path && builtins.toString path != "/" && ! isGitRoot) (findGitIgnores parent) ++ gitIgnores;
|
||||
|
||||
/*
|
||||
Provides a source filtering mechanism that:
|
||||
|
|
Loading…
Add table
Reference in a new issue