Skip to content
Discussion options

You must be logged in to vote

Hi @Lyndeno ! It is intentional (by design) that buildDepsOnly does not accept cargoArtifacts: it is meant to be the starting point for creating the initial set of artifacts. Afterwards you are free to layer/chain other derivations however you'd like (and all other functions do accept overriding the cargoArtifacts).

You may want to use something like cargoBuild/mkCargoDerivation along with mkDummySrc to customize your cargoArtifacts further before calling something like buildPackage. Hope this helps!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ipetkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #924 on November 22, 2025 01:00.