It's crate2nix: https://github.com/kolloch/crate2nix
Re:How Nix and NixOS get so close to perfect
by tazjin on Sunday April 24, 2022 @09:13AM
(#31143620)
No, unless something significantly changed there. There's another project like naersk which doesn't need to generate a "Cargo.nix" file.
Re:How Nix and NixOS get so close to perfect
by vbrandl on Sunday April 24, 2022 @11:39AM
(#31145089)
Maybe cargo2nix? https://github.com/cargo2nix/cargo2nix
The main drawback of it is that it currently builds all of your dependencies in one big derivation, so any dependency changes cause a full rebuild. There's some other project I saw fly by which attempts to do a similar thing but split each crate into a separate derivation, but I forgot what it's called and have no experience with it.
[0]: https://github.com/nix-community/naersk
[1]: https://cs.tvl.fyi/depot/-/blob/ops/journaldriver/default.ni...