Skip to content

Fix shell.nix and build for modern nixpkgs/Node.js#44

Open
brysenPfingsten wants to merge 1 commit into
TOPLLab:masterfrom
brysenPfingsten:fix/update-nix-for-modern-nixpkgs
Open

Fix shell.nix and build for modern nixpkgs/Node.js#44
brysenPfingsten wants to merge 1 commit into
TOPLLab:masterfrom
brysenPfingsten:fix/update-nix-for-modern-nixpkgs

Conversation

@brysenPfingsten

Copy link
Copy Markdown

Summary

  • Update nodejs-14_x to nodejs_20 (Node 14 reached EOL and was removed from nixpkgs)
  • Fix xvfb_runxvfb-run attribute rename in nixpkgs
  • Remove xvfb-run stderr patch that no longer applies (package structure changed)
  • Add NODE_OPTIONS=--openssl-legacy-provider to fix webpack build with Node.js 17+ (OpenSSL 3.0 compatibility)

Test plan

  • nix-shell enters successfully
  • ./run -c -b builds and starts the server
  • Server accessible at http://localhost:3000

🤖 Generated with Claude Code

- Update nodejs-14_x to nodejs_20 (Node 14 EOL, removed from nixpkgs)
- Fix xvfb_run -> xvfb-run attribute rename
- Remove xvfb-run patch that no longer applies (buildCommand removed)
- Add NODE_OPTIONS=--openssl-legacy-provider for webpack compatibility
  with Node.js 17+ (OpenSSL 3.0 breaks legacy crypto in older webpack)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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