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:
parent
b7ddbd52bd
commit
8d705d9f11
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue