Skip to content

build(deps): restore Node.js from nixpkgs-unstable - #522

Merged
furedea merged 1 commit into
mainfrom
build/restore-nodejs-from-nixpkgs
Nov 25, 2026
Merged

furedea merged 1 commit into
mainfrom
build/restore-nodejs-from-nixpkgs

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

概要

Node.js を公式バイナリ固定から nixpkgs-unstable の nodejs_24 に戻します.

  • nix/home/default.nix の nodejsPackage を unstable.nodejs_24 に変更
  • nix/packages/nodejs_bin.nix を削除
  • flake.lock は変更なし.root input の nixpkgs-unstable は lock node nixpkgs-unstable_2 を指し,build(deps): refresh locks and remove Nogon #520 で 619c39f(2026-11-22)に固定済みで,nodejs_24 は 24.22.2 です

Closes #276

検証

  • nix build した nodejs_24: /nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node --version → v24.22.2
  • lefthook run pre-commit --all-files: 全て成功
  • nix flake check: all checks passed
  • eMudhra テストホストへの通信は作業環境のサンドボックスが拒否するため,このPRでは未実施です./usr/bin/curl,Safari,Chrome が両ホストを拒否することは確認済みです

マージ後の手順

両方の Mac で pull して darwin-rebuild switch を実行し,次のコマンドで,いずれも証明書エラーで拒否されることを確認します.

for h in dv-g3b-emudhra dv-g3b-aaa-emudhra; do
  u=https://$h.we-have-a-problem.com/
  node -e "fetch('$u').then(()=>console.log('ACCEPTED'),e=>console.log('rejected:',e.cause?.code))"
  curl -sS -o /dev/null "$u" && echo ACCEPTED
  uv run --no-project python -c "import urllib.request as r;r.urlopen('$u');print('ACCEPTED')"
  uv pip install --no-deps --index-url "$u" pip
done

Node と curl と uv の Python は証明書エラー,uv は TLS エラーで失敗すれば期待どおりです(ACCEPTED が出たら問題).

🤖 Generated with Claude Code

Use unstable.nodejs_24 (24.22.2) and drop the official-binary package
that only existed until nixpkgs caught up with the security release.

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

furedea commented Nov 25, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-25T11:10:04.806475Z
We couldn’t complete this review. Comment @codex review to try again.
4361eb0 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown
Contributor

Review summary: no findings.

  • The diff is a one-line switch to unstable.nodejs_24 plus deletion of nix/packages/nodejs_bin.nix.
  • No references to nodejs_bin remain in the repo.
  • flake.lock pins nixpkgs-unstable_2 at 619c39f, matching the PR description. The PR says this provides 24.22.2, which is at or above the 24.22.1 floor in the removed file's comment. I did not build it myself.
  • Nothing here changes testable behavior, so I see no missing tests. The post-merge TLS verification steps in the description are reasonable.

🤖 Generated with Claude Code

@furedea
furedea merged commit 1e63ea9 into main Nov 25, 2026
21 of 23 checks passed
@furedea
furedea deleted the build/restore-nodejs-from-nixpkgs branch November 25, 2026 12:25
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.

nixpkgs が修正版に追いついたら,eMudhra 対応の一時的な固定(Node.js・uv の公式バイナリと CA の除外)を外す

1 participant