Hey!
I am starting to play around with nix to build Rust projects and I am experimenting on a crate that pulls in some dependencies from a private crate registry.
This leads to a failure when doing nix flake check - error: unknown source type: registry+https://dl.cloudsmith.io/XXX/XXX.
Are private crate registries supported? If so, where can I find some documentation on how to fix my setup?
Edited: I am using crate2nix via nix-cargo-integration and I didn't realise the default build platform was naersk. I switched to crate2nix and it still fails on private dependencies, although with a different error.
Hey! I am starting to play around with
nix
to build Rust projects and I am experimenting on a crate that pulls in some dependencies from a private crate registry. This leads to a failure when doingnix flake check
-error: unknown source type: registry+https://dl.cloudsmith.io/XXX/XXX
.Are private crate registries supported? If so, where can I find some documentation on how to fix my setup?
Edited: I am using
crate2nix
vianix-cargo-integration
and I didn't realise the default build platform wasnaersk
. I switched tocrate2nix
and it still fails on private dependencies, although with a different error.