Write the Nix package of a Rust project in 2022: an opinionated comparison
Channel: NixCon
Date: 2022-11-10

In this talk, we will address the different existing strategies to package an arbitrary Rust crate. Our goals are to try to minimize the amount of Nix code required to quick start, discussing how to deal with overlays, and finally demonstrating why Nix offers a greater cross-compilation developer experience than Cargo.

Existing solutions that will be compared are nixpkgs, naersk, crate2nix, cargo2nix and crane (used by dream2nix).

We will analyse what are the derivations produced for each of those and inspect how IFDs are used.


Speaker: Yvan Sraka

What level of experience in Nix is the talk addressed to?
Mid-level