This repository has been archived by the owner on Oct 7, 2022. It is now read-only.
Error when running pypi2nix command on obonet #117
Milestone
Comments
This sounds like an issue with
This would download the source from the git and you'll probably have the Ping me ( @seppeljordan ) or reopen this issue if you still need help or you think that this is NOT an issue with obonet but an issue with pypi2nix. |
That still doesn't work. I am now getting: % nix-shell --version
nix-shell (Nix) 1.11.6
% nix-shell
these derivations will be built:
/nix/store/b75pm8c3kw3dv1asp70xws6dbpkg5pxv-obonet.git.drv
/nix/store/g7y7vkx3q3zhypkig8irv63ra6xqdn7c-python3.5-obonet-0.2.1.drv
/nix/store/qqz461bb4yi6y219dmb8qhfgaib4i2ds-python3.5-python35-interpreter.drv
building path(s) ‘/nix/store/jbb6pmkdpgn5z3gyhal0nrxib315c42n-obonet.git’
trying https://github.com/dhimmel/obonet.git
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 548 0 --:--:-- --:--:-- --:--:-- 554
100 58252 0 58252 0 0 78532 0 --:--:-- --:--:-- --:--:-- 4321k
output path ‘/nix/store/jbb6pmkdpgn5z3gyhal0nrxib315c42n-obonet.git’ has sha256 hash ‘0cg52vb93imvcc1pcr0y9fjyxfch8l40fsgjnsknw06zdm210kk6’ when ‘0qpnwgwndsiclvgw7bc9w0ysy24lrdp1ff6d30bh3p83mk43jr0i’ was expected
cannot build derivation ‘/nix/store/g7y7vkx3q3zhypkig8irv63ra6xqdn7c-python3.5-obonet-0.2.1.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/g7y7vkx3q3zhypkig8irv63ra6xqdn7c-python3.5-obonet-0.2.1.drv’ failed I think this is because nix changed something about how it computes hashes with git clones a while ago. At least I recall that happening and it would explain what is going on here. Do I need to update nix, or is this a problem with pypi2nix? |
this worked for me % pypi2nix -v -V 3.5 -e "https://github.com/dhimmel/obonet/archive/master.zip#egg=obonet" -e networkx -E pandoc
% nix-build requirements.nix -A interpreter |
Thanks this fixed the issue! Thanks for making pypi2nix it is really
helpful!
Blake
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
The setup.py file is trying to read the readme file to create the long description, but the readme isn't in the downloaded files. If I run pypi with
-E pandoc
this still crashes because pandoc cannot read the file.Traceback
The text was updated successfully, but these errors were encountered: