Hello.
We have GitHub - base48/old-wiki: Dump of old wiki pages repository which is public archive.
When builtins.fetchGit has been used against this repository, it ends in endless loop.
Easy reproducer:
strace -f -t nix eval --impure --expr '
builtins.fetchGit {
url = "https://github.com/base48/old-wiki.git";
}
'
And it ends in endless loop on:
[pid 807896] 18:46:53 newfstatat(AT_FDCWD, "/home/user/.cache/nix/gitv3/0xcnqpnmcir8kishjyj3iv09lp1sa09h7l90pk0al5rq4gdxb08w/info/attributes", 0x7ffc90b28060, 0) = -1 ENOENT (No such file or directory)
[pid 807896] 18:46:53 access("/etc/gitattributes", F_OK) = -1 ENOENT (No such file or directory)
[pid 807896] 18:46:53 newfstatat(AT_FDCWD, "/home/user/.cache/nix/gitv3/0xcnqpnmcir8kishjyj3iv09lp1sa09h7l90pk0al5rq4gdxb08w/info/attributes", 0x7ffc90b28060, 0) = -1 ENOENT (No such file or directory)
... etc ...
Do I’m doing something wrong?
It looks like nasty bug to me.