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

Error when running pypi2nix command #475

@legendofa

Description

@legendofa

Description

<detailed description of error # Traceback

INFO: pypi2nix v2.0.4 running ...
INFO: Downloading wheels and creating wheelhouse ...
INFO: Downloading runtime requirements
these derivations will be built:
  /nix/store/b91il3z15420gh4cpky3lfg1kcfmkrsx-python3.8-pip-20.1.1.drv
  /nix/store/s08pdq1rlb0dwwmb331icjli138bx8n1-python3.8-wheel-0.34.2.drv
  /nix/store/rz0kf22lkx9987063i0h0nfx6c5sa6iw-python3-3.8.8-env.drv
building '/nix/store/b91il3z15420gh4cpky3lfg1kcfmkrsx-python3.8-pip-20.1.1.drv'...
building '/nix/store/s08pdq1rlb0dwwmb331icjli138bx8n1-python3.8-wheel-0.34.2.drv'...
Sourcing python-recompile-bytecode-hook.sh
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing python-recompile-bytecode-hook.sh
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
unpacking sources
unpacking source archive /nix/store/pham2w174fjmc99f6sg3w98wac2r484f-pip-b8c16a0
unpacking sources
unpacking source archive /nix/store/ps72n0awkcgf1jp2cpr7awrf5xvd007w-wheel-0.33.6.tar.gz
source root is wheel-0.33.6
setting SOURCE_DATE_EPOCH to timestamp 1566122927 of file wheel-0.33.6/setup.cfg
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
source root is pip-b8c16a0
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file pip-b8c16a0/tox.ini
patching sources
applying patch /nix/store/iz5gi7nz4xdxfcb8372dmi4rkclpqd4m-reproducible.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/pip/_internal/operations/install/wheel.py b/src/pip/_internal/operations/install/wheel.py
|index e7315ee4..4e36b03d 100644
|--- a/src/pip/_internal/operations/install/wheel.py
|+++ b/src/pip/_internal/operations/install/wheel.py
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
builder for '/nix/store/b91il3z15420gh4cpky3lfg1kcfmkrsx-python3.8-pip-20.1.1.drv' failed with exit code 1
cannot build derivation '/nix/store/rz0kf22lkx9987063i0h0nfx6c5sa6iw-python3-3.8.8-env.drv': 1 dependencies couldn't be built
% pypi2nix --version
% pypi2nix -e myst-parser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions