Hi Guix, Christoph, I can confirm that the patch Christoph links upthread (https://issues.guix.gnu.org/77154) fixes the problem I ran into.
Test steps: * Create custom libssh2-1.11.1 package, that inherits Guix channel libssh2 and applies Christoph's fixes. * Build and install the libssh2-1.11.1 package. * Install transformed libgit2 package to link against libss2-1.11-1 with the "--with-input=libssh2=libssh2@1.11.1" option ** I used git2 command line previously to reproduce / test the issue. This fixed that particular error, although I ran into another one. * Install transformed guix package to link against libssh2-1.11.1 * guix pull worked Cheers, Matthew Todd matt...@zerobitcoder.net