cargo2nix / cargo2nix

Granular builds of Rust projects for Nix
MIT License
381 stars 74 forks source link

Support custom build commands #313

Open mainrs opened 1 year ago

mainrs commented 1 year ago

This can be useful if one wants to use a build command proxy like cargo-auditable. The binary includes a dependency tree and makes it possible to audit a released binary.

Instead of running a normal cargo build --release, one would run cargo auditable build --release.

psionic-k commented 1 year ago

This can be done with a builder override for the very last crate, but I should also add support for the mkcrate builder