Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python version used by node #25

Closed
FRidh opened this issue Nov 18, 2016 · 2 comments
Closed

Python version used by node #25

FRidh opened this issue Nov 18, 2016 · 2 comments

Comments

@FRidh
Copy link

FRidh commented Nov 18, 2016

I'm working on migrating Nixpkgs to Python 3 as default. Not all packages support 3.x yet, and in those cases python2 needs to be explicitly passed in. I will make the changes in the Nixpkgs repo, even on the generated files, but you will need to explicitly use python2 here. Furthermore, I will add passthru.python to nodejs so I recommend nodeEnv uses that instead. That way we can guarantee the same version of Python is used.

Branch: https://github.com/NixOS/nixpkgs/tree/python3
PR: NixOS/nixpkgs#19626
Issue: NixOS/nixpkgs#18185

FRidh added a commit to NixOS/nixpkgs that referenced this issue Nov 18, 2016
so nodeEnv uses the exact same version.

See also svanderburg/node2nix#25
@svanderburg
Copy link
Owner

The only solution I have in mind is that we must make the python version used configurable so that we can retain compatibility with both the master and latest stable branches.

@svanderburg
Copy link
Owner

Since rev aabfd15, we now explicitly refer to python2

FRidh added a commit to NixOS/nixpkgs that referenced this issue Nov 24, 2016
so nodeEnv uses the exact same version.

See also svanderburg/node2nix#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

No branches or pull requests

2 participants