mirror of
https://github.com/NixOS/nix
synced 2025-06-28 05:21:16 +02:00
Fix test failures
This commit is contained in:
parent
7d14f5c331
commit
21ef1670b3
3 changed files with 6 additions and 5 deletions
|
@ -17,6 +17,7 @@ bool isInStore(const Path & path)
|
|||
bool isStorePath(const Path & path)
|
||||
{
|
||||
return isInStore(path)
|
||||
&& path.size() >= settings.nixStore.size() + 1 + storePathHashLen
|
||||
&& path.find('/', settings.nixStore.size() + 1) == Path::npos;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue