Replies: 3 comments 4 replies
-
I'm not sure I understand the question fully, I'd assume you just depend on a crate the regular way by adding it to Cargo dependencies? I don't think NCI or not matters here. |
Beta Was this translation helpful? Give feedback.
-
i don't think i can support this in nci since it doesn't do any building logic itself (dream2nix does but nci is still a cargo focused project, this would require nci to have some sort of build graph etc feature and call rustc via nixpkgs' buildRustCrate to link crates manually), so will have to close |
Beta Was this translation helpful? Give feedback.
-
@yusdacra Thank you for your help. What I ended up doing is I symlinked the dependencies into a subfolder, and used something like |
Beta Was this translation helpful? Give feedback.
-
I have mutiple private packages (not published on any package registry). Each one of them uses
nci
and I want crate-a to depend on crate-b. Is this possible?Beta Was this translation helpful? Give feedback.
All reactions