poetry2nix: translate hashes to sha256

This commit is contained in:
Daiderd Jordan 2020-06-01 15:20:53 +02:00
parent b7ddbd52bd
commit 8d705d9f11
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ let
else
pkgs.fetchurl {
url = predictURLFromPypi { inherit pname file hash kind; };
inherit hash;
sha256 = builtins.elemAt (builtins.match "sha256:(.*)" hash) 0; # nix 2.0 backwards compatibility.
}
);
getBuildSystemPkgs =