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

pypi2nix seems to be broken #24111

Closed
nlewo opened this issue Mar 20, 2017 · 2 comments
Closed

pypi2nix seems to be broken #24111

nlewo opened this issue Mar 20, 2017 · 2 comments

Comments

@nlewo
Copy link
Member

nlewo commented Mar 20, 2017

Issue description

./result/bin/pypi2nix -h
Traceback (most recent call last):
  File "/nix/store/rp9hdj02sibvvdryhpv7qz01yzah260n-pypi2nix-1.6.0/bin/.pypi2nix-wrapped", line 2, in <module>
    import pypi2nix.cli
  File "/nix/store/rp9hdj02sibvvdryhpv7qz01yzah260n-pypi2nix-1.6.0/pkgs/pypi2nix/cli.py", line 9, in <module>
    import pypi2nix.stage2
  File "/nix/store/rp9hdj02sibvvdryhpv7qz01yzah260n-pypi2nix-1.6.0/pkgs/pypi2nix/stage2.py", line 9, in <module>
    import pkg_resources
ImportError: No module named 'pkg_resources'

Steps to reproduce

On master,

nix-build ./ -A  pypi2nix
./result/bin/pypi2nix -h

Technical details

  • System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
  • Nix version: (run nix-env --version)
  • Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
    15.09.706.45128de
@Mic92
Copy link
Member

Mic92 commented Mar 20, 2017

cc @garbas

@FRidh FRidh changed the title nix2pypi seems to be broken pypi2nix seems to be broken Mar 20, 2017
nlewo added a commit to nlewo/nixpkgs that referenced this issue Mar 20, 2017
@garbas
Copy link
Member

garbas commented Mar 20, 2017

this should be fixed in current master of pypi2nix, a release is pending. I will do the release once I'm out of the hospital (2-4 days)

@garbas garbas closed this as completed Mar 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants