[x86_64] src/libfetchers/git-utils.cc: In member function 'virtual void nix::GitRepoImpl::flush()':
[x86_64] src/libfetchers/git-utils.cc:288:13: error: 'git_mempack_write_thin_pack' was not declared in this scope
[x86_64] 288 | git_mempack_write_thin_pack(mempack_backend, packBuilder.get())
When trying to build nix 2.25.2 I get an error
As far as I understand it, this is related to the dependency libfetchers on the git_mempack_write_thin_pack function, which is not present in any version of libgit2 even in the latest version 1.8.4 only in commit https://github.com/libgit2/libgit2/commit/f9c35fb50998d1c9d26293a18ade3d7c32f6ecb0.