Skip to content

build(home): take uv and dprint from nixpkgs-unstable instead of official binaries - #335

Merged
furedea merged 2 commits into
mainfrom
build/unpin-uv-binary
Oct 24, 2026
Merged

furedea merged 2 commits into
mainfrom
build/unpin-uv-binary

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

概要

eMudhra の中間 CA 侵害への一時対応として入れた公式バイナリ固定のうち,uv と dprint を外し,nixpkgs-unstable のパッケージに戻す.nixpkgs-unstable が両方の修正版を取り込んだ.

変更前 変更後
uv 公式ビルド 0.13.4(nix/packages/uv_bin.nix,#275) unstable.uv(0.13.4)
dprint 公式ビルド 0.64.1(nix/packages/dprint_bin.nix) unstable.dprint(0.64.1)

Refs #276(Node.js と CA の行は残っているので Closes ではない)

確認

  • nix flake check が通る
  • darwin-rebuild build --flake .#mbp が通る
  • ビルドした uv が 0.13.4,dprint が 0.64.1
  • ビルドした uv が両方の検査ホスト(dv-g3b-emudhra / dv-g3b-aaa-emudhra)を invalid peer certificate: UnknownIssuer で拒否する(uv run --with で各ホストを index に指定)
  • uv 管理の Python 3.14 の urllib も両方を CERTIFICATE_VERIFY_FAILED で拒否する
  • ビルドした dprint でこのリポジトリの dprint check が通る(プラグインを取得できる)
  • switch 後に uv --version が 0.13.4,dprint --version が 0.64.1 になる

レビュー(uv の 1 ラウンド)P2 以下の記録

  • P3: nixpkgs-unstable は uv 専用の入力ではなく,約 2.5 か月進んだ.unstable.* を使う他のパッケージ(gh-stack,git-wt,lefthook,pi-coding-agent,oxfmt,oxlint,tsgolint,atuin,rust-analyzer)も一緒に更新される.flake check と build は通っている.
  • Node.js は unstable が 24.21.0 のままなので固定を残す.
  • dprint の切り替えはレビュー後に追加した(変更は 1 行と削除のみ).

🤖 Generated with Claude Code

…nary

Updating the nixpkgs-unstable input brings uv 0.13.4, which carries the
eMudhra fix, so the pinned official build is no longer needed.

Refs #276

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@furedea-agent

furedea-agent Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

7 日ルールの例外

取り込む nixpkgs-unstable(901c54c,2026-10-23 ごろ)は公開から 7 日経っていない.uv 0.13.4 が nixpkgs-unstable に入ったのは 2026-10-22 より後で,7 日経った版に 0.13.4 を含むものはまだない.eMudhra の CA 侵害への対応なので,利用者の判断で例外として今取り込む.

…l binary

The updated nixpkgs-unstable input ships dprint 0.64.1, the version the
pinned official build was waiting for.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@furedea-agent furedea-agent Bot changed the title build(home): take uv from nixpkgs-unstable instead of the official binary build(home): take uv and dprint from nixpkgs-unstable instead of official binaries Oct 24, 2026
@furedea
furedea merged commit bbe9ad1 into main Oct 24, 2026
11 checks passed
@furedea
furedea deleted the build/unpin-uv-binary branch October 24, 2026 18:50
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