1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00

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

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 =