-
Is there a way to pass arbitrary cargo build arguments, such as |
Beta Was this translation helpful? Give feedback.
Answered by
yusdacra
Jul 13, 2024
Replies: 1 comment 3 replies
-
You can use testFlags or buildFlags to pass arbitrary arguments to cargo, just use those under mkDerivation in drvConfig and depsDrvConfig |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, I mixed up some of the options, you have to define
rust-crane.testFlags
andrust-crane.buildFlags
underdrvConfig
anddepsDrvConfig
. ThedrvConfig
are passed to dream2nix as is basically, and in dream2nix it's configured throughrust-crane
.