Skip to content

build: add pinned cargo-dist to the dev shell - #13

Merged
furedea merged 1 commit into
mainfrom
build/cargo-dist-devshell
Oct 22, 2026
Merged

furedea merged 1 commit into
mainfrom
build/cargo-dist-devshell

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

概要

dev shell に cargo-dist 0.30.2 を固定して追加する.

背景

Cargo.toml の cargo-dist-version と release_artifacts.yml の CARGO_DIST_VERSION は 0.30.2 だが,dev shell に cargo-dist がなく,エージェントが nix shell nixpkgs#cargo-dist を実行して承認プロンプトが発生していた.

変更内容

  • flake.nix に agent-harness と同一の cargoDist override(version,src hash,cargoHash)を追加
  • devShells.<system>.default の packages に cargoDist を追加
  • バージョン一致を促すコメントを同じ文面で追加
  • workflow は変更しない

確認

  • nix flake check: 成功
  • nix develop -c dist --version: cargo-dist 0.30.2
  • lefthook pre-commit / commit-msg: 成功

Refs furedea/dotfiles#264

🤖 Generated with Claude Code

Pin cargo-dist 0.30.2 to match cargo-dist-version in Cargo.toml and
CARGO_DIST_VERSION in release_artifacts.yml, so agents no longer need
`nix shell nixpkgs#cargo-dist`.

Refs furedea/dotfiles#264

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@furedea
furedea merged commit 4aeafc1 into main Oct 22, 2026
14 checks passed
@furedea
furedea deleted the build/cargo-dist-devshell branch October 22, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant