We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Write the Nix package of a Rust project in 2022: an opinionated comparison

Formale Metadaten

Titel
Write the Nix package of a Rust project in 2022: an opinionated comparison
Serientitel
Anzahl der Teile
28
Autor
Lizenz
CC-Namensnennung 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
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.