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: Don't link python3 executables if they don't exist #28230

Closed
wants to merge 1 commit into from

Conversation

seppeljordan
Copy link
Contributor

@seppeljordan seppeljordan commented Aug 13, 2017

This means that if python is built without pip we don't try to link pip3 -> pip

Motivation for this change

Currently it is not possible to create a python 3 environment with pip package in it, because there is a dead symlink in the deriviation of python3.x called $out/bin/pip which prevents building said environment.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

This means that if python is built without pip we don't try to link pip3 -> pip
@mention-bot
Copy link

@seppeljordan, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh, @domenkozar and @kragniz to be potential reviewers.

@FRidh
Copy link
Member

FRidh commented Aug 13, 2017

Thanks, but I already pushed fixes to staging. E.g. 748589b

@FRidh FRidh closed this Aug 13, 2017
@seppeljordan
Copy link
Contributor Author

@FRidh This prevents me from building a python environment with pip inside it. I would very much like your fixed to be part of master soon. Is there a way to help and accelerate this process?

@FRidh
Copy link
Member

FRidh commented Aug 19, 2017

@seppeljordan no, you cannot. As soon as staging is sufficiently "stable", it will be merged into master.

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.

None yet

3 participants