poetry2nix: translate hashes to sha256
This commit is contained in:
parent
b7ddbd52bd
commit
8d705d9f11
|
@ -146,7 +146,7 @@ let
|
||||||
else
|
else
|
||||||
pkgs.fetchurl {
|
pkgs.fetchurl {
|
||||||
url = predictURLFromPypi { inherit pname file hash kind; };
|
url = predictURLFromPypi { inherit pname file hash kind; };
|
||||||
inherit hash;
|
sha256 = builtins.elemAt (builtins.match "sha256:(.*)" hash) 0; # nix 2.0 backwards compatibility.
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
getBuildSystemPkgs =
|
getBuildSystemPkgs =
|
||||||
|
|
Loading…
Reference in New Issue