svanderburg / node2nix

Generate Nix expressions to build NPM packages
MIT License
527 stars 100 forks source link

Remove reliance on python2 #281

Open mweinelt opened 2 years ago

mweinelt commented 2 years ago

Python2 has been EOL for over 2 years. Node2nix should migrate to python3 if it needs a python interpreter.

svanderburg commented 2 years ago

@mweinelt node2nix should only indirectly use python via nodejs.python. I know that newer versions of Node.js no longer rely on python2 but older versions still do. If an older version is used, then python2 is used.

svanderburg commented 2 years ago

The reason why python is used is because gyp, the build system for V8 and some module with native dependencies rely on it.

turboMaCk commented 2 years ago

I think this issue can be closed. node2nix doesn't rely on python2. it's upstream nodejs and packages that depend on gyp that depend on it.