-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
PythonFull improvements #4495
PythonFull improvements #4495
Conversation
2df57ac
to
658736b
Compare
111fcf8
to
6a3df07
Compare
Ready for review. |
Wow, there are a lot of changes ... |
@@ -108,18 +115,16 @@ let | |||
, internalName ? "_" + moduleName | |||
, deps | |||
}: | |||
stdenv.mkDerivation rec { | |||
if (includeModules) then null else stdenv.mkDerivation rec { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe those parens are not required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
What exactly is pythonFullWithPkgs? |
|
i would rename those of you who work with python+nixpkgs you might notice that how we handle python is fairly broken, since what can happen is that in python environment we create multiple versions of the same package can be placed in PYTHONPATH. what is even more scary is that this many times happens silently and while you think your project is using version you specified you are actually using some other version which got pulled in as dependency of some other package. anyway +1 for the change i'll test it this week on our code and report back if there are any errors, but please lets use some more saner naming. |
I fully agree with For "fairly broken part", this is the issue: #2412 |
When includeModules is true, python is built with all optional modules as part of derivation.
@garbas can't actually do that. |
+1 |
4bf72fd
to
68b183e
Compare
No description provided.