Closed P-E-Meunier closed 1 month ago
Hmm, the cross-compilation is failing because libsecret is somehow not targetPlatform-agnostic. I don't think it's intended and I'll look into it on nixpkgs later when I have time.
But for now, let's explicitly use ${pkgsHostHost.libsecret}
. It should workaround the issue.
Thanks!
On Linux, the recommended way to work with
cargo login
is via libsecret, but that requires a specific LD_LIBRARY_PATH with this overaly.This PR fixes this by adding libsecret as a runtime dependency of cargo.
Tested on Linux-aarch64.