update-rust-derivation

Community

Update Rust derivations with correct hashes

Authorshinzui
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Update a Rust derivation in Nix to a new version and ensure the corresponding hashes are updated for reproducible builds.

Core Features & Use Cases

  • Version bumping: update the version attribute in fetchFromGitHub and related fields.
  • Hash reconciliation: fetch new tarball hash, convert to SRI, and apply to the derivation.
  • Build verification: set cargoHash to a placeholder, run a build to reveal the correct cargoHash, then update it and re-build to verify success.

Quick Start

Use the update-rust-derivation skill to bump a Rust package version in a Nix derivation and refresh the hashes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: update-rust-derivation
Download link: https://github.com/shinzui/dotfiles.nix/archive/main.zip#update-rust-derivation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.