I’m struggling trying to port all my code from Ubuntu to a NixOS server.
Any workaround for buildRustPackage does not work with private/ssh dependencies · Issue #37010 · NixOS/nixpkgs · GitHub ?
error: failed to sync
Caused by:
failed to load pkg lockfile
Caused by:
failed to load source for a dependency on `some-other-crate`
Caused by:
Unable to update ssh://git@gitlab.com/bbigras/some-crate.git#927b81a1
Caused by:
failed to clone into: /build/source/cargo-home.tVR/git/db/some-crate-72fbdbe960544b3c
Caused by:
failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded
Caused by:
error authenticating: no auth sock variable; class=Ssh (23)