nixpkgs 24.11 made `pkgs.python3` an alias for Python 3.12, which removed `distutils` from stdlib. node-gyp@9.4.1 (transitively pulled in by better-sqlite3) still imports `distutils.version`, so the app derivation failed with `ModuleNotFoundError: No module named 'distutils'` on the better-sqlite3 rebuild step. Pin to python311 — still in 24.11 nixpkgs. Drop once pnpm-lock bumps better-sqlite3 to a release whose node-gyp@10+ doesn't need distutils. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| mkAtmApp.nix | ||