- ✅ No need to install
crate2nix
.
- ✅ Auto-generates nix from your
Cargo.lock
file.
- ⚠️ Uses the import from derivation
feature from Nix which may lead to disabling build parallelism.
Do you want to build a rust binary but you cannot simply add the necessary nix-files
to the source repository? You don’t need to.
The crate2nix
repo itself contains an example where it builds an external repository
using the tools.nix support: