For any package I want to install: "Error: Internal Error: Calculate hash value for sources in github repo nix-community/pypi2nix-overrides."
moritzschaefer opened this issue · 2 comments
When trying to install a pip package using pypi2nix, I get the following error message:
moritz@moxps ~> pypi2nix -e datacache
INFO: pypi2nix v2.0.4 running ...
INFO: Downloading wheels and creating wheelhouse ...
INFO: Downloading runtime requirements
WARNING: You are using pip version 20.0.dev0; however, version 20.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
WARNING: You are using pip version 20.0.dev0; however, version 20.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
WARNING: You are using pip version 20.0.dev0; however, version 20.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
INFO: Build wheels of setup and runtime requirements
INFO: Extracting metadata from pypi.python.org ...
INFO: -- sources ---------------------------------------------------------------
INFO: --------------------------------------------------------------------------
INFO: Generating Nix expressions ...
Error: Internal Error: Calculate hash value for sources in github repo nix-community/pypi2nix-overrides.
No matter which package I try to install (I also tried "requests" and "pyensembl"), the error message remains the same. Unfortunately, the error message is not very precise, so I'd appreciate any information.
Hi, You are (most likely) using an unstable version of nix
which is currently incompatible with pypi2nix.
Yes this is happening with nix flakes
. mostly nix versions >=2.4