What problem does it solve?
Guix Rust packaging workflows are often manual and error-prone when converting a checked-out Rust/Cargo project into a Guix package. This skill provides a guided, end-to-end approach to import crates, resolve dependencies, and generate the rust-package.scm definitions required by Guix packaging workflows.
Core Features & Use Cases
- Load and validate the guix-packaging skill to lay the groundwork for Rust packaging.
- Use the cargo-based importer (guix import crate -f Cargo.lock PACKAGE) to resolve dependencies and generate crate sources.
- Ignore generated artifacts (such as target/, Cargo.lock, and *.rs.bk files) and produce rust-package.scm definitions suitable for Guix.
- Reference existing helpers in factory/guix-gnu/ rust-crates.scm and rust-apps.scm to align with Guix conventions.
- Provide a deterministic, end-to-end workflow from git checkout to final package build with validation and reporting.
Quick Start
Run the workflow to import a Rust crate from a checked-out git source into Guix using guix import crate -f Cargo.lock PACKAGE and verify the results with guix gc --references PACKAGE.