Skip to content

Commit

Permalink
poetry2nix: translate hashes to sha256
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Jun 1, 2020
1 parent b7ddbd5 commit 8d705d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/tools/poetry2nix/poetry2nix/lib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 8d705d9

Please sign in to comment.