Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Error when running pypi2nix command #477

Open
cyber-murmel opened this issue Sep 12, 2021 · 1 comment
Open

Error when running pypi2nix command #477

cyber-murmel opened this issue Sep 12, 2021 · 1 comment

Comments

@cyber-murmel
Copy link

cyber-murmel commented Sep 12, 2021

Description

I just tried to convert a pypi package (gdbgui) of a specific version to a nix expression.

Command

% pypi2nix --version
2.0.4

% pypi2nix -e gdbgui==0.13.2.0
[...]
Switched to a new branch 'fetchgit'
removing `.git'...
building '/nix/store/gf53iqr2ibhi2l876p8aqimwihhhjlyq-python3.8-bootstrapped-pip-21.0.1.drv'...
Sourcing pip-install-hook
Sourcing setuptools-build-hook
Using setuptoolsShellHook
unpacking sources
unpacking source archive /nix/store/ps72n0awkcgf1jp2cpr7awrf5xvd007w-wheel-0.33.6.tar.gz
unpacking source archive /nix/store/pham2w174fjmc99f6sg3w98wac2r484f-pip-b8c16a0
unpacking source archive /nix/store/cdl14wsqnpal7wd7xmbmmj62lbc781an-setuptools-42.0.2.zip
source root is .
setting SOURCE_DATE_EPOCH to timestamp 1575213198 of file ./setuptools-42.0.2/setuptools.egg-info/top_level.txt
patching sources
configuring
no configure script, doing nothing
building
installing
Building setuptools wheel...
/build/setuptools /build
rm: cannot remove 'pyproject.toml': No such file or directory
builder for '/nix/store/gf53iqr2ibhi2l876p8aqimwihhhjlyq-python3.8-bootstrapped-pip-21.0.1.drv' failed with exit code 1
cannot build derivation '/nix/store/l19pnywc0z49j9vas117fwvz7r70jfvg-python3.8-pip-21.0.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jjbzf8k6qrfqyyq98x0i87zyaq9w7vp3-python3.8-setuptools-54.2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jwygf6zkym96h4c1464pmqwpn2s4ww1x-python3.8-wheel-0.36.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qb97yz92v29zysxrg8agld6m3bdmszr7-python3-3.8.9-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/qb97yz92v29zysxrg8agld6m3bdmszr7-python3-3.8.9-env.drv' failed
@srghma
Copy link

srghma commented Feb 15, 2022

throws this error even with pyproject.toml in dir
😭

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants