git.iko.soy/typeable/nixpkgs
on master help sign in
poetry2nix: translate hashes to sha256
commit8d705d9f116a20d73a992380303c6e230c5cb857 authorDaiderd Jordan <daiderd@gmail.com> dateMon 1 Jun 2020, 15:20 (6 years ago) parentb7ddbd5
1 file changed+1−1
pkgs/development/tools/poetry2nix/poetry2nix/lib.nix+1−1
pkgs/development/tools/poetry2nix/poetry2nix/lib.nix+1−1
@@ -146,7 +146,7 @@ let
146146 else
147147 pkgs.fetchurl {
148148 url = predictURLFromPypi { inherit pname file hash kind; };
149− inherit hash;
149+ sha256 = builtins.elemAt (builtins.match "sha256:(.*)" hash) 0; # nix 2.0 backwards compatibility.
150150 }
151151 );
152152 getBuildSystemPkgs =