diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2020-06-01 15:20:53 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2020-06-01 15:24:21 +0200 |
commit | 8d705d9f116a20d73a992380303c6e230c5cb857 (patch) | |
tree | 3a2f70aac239e790974b543b4ac8c52c57f00edd /pkgs/development/tools | |
parent | b7ddbd52bd1ab9365436573c0c5b6d1edcc1919f (diff) | |
download | nixlib-8d705d9f116a20d73a992380303c6e230c5cb857.tar nixlib-8d705d9f116a20d73a992380303c6e230c5cb857.tar.gz nixlib-8d705d9f116a20d73a992380303c6e230c5cb857.tar.bz2 nixlib-8d705d9f116a20d73a992380303c6e230c5cb857.tar.lz nixlib-8d705d9f116a20d73a992380303c6e230c5cb857.tar.xz nixlib-8d705d9f116a20d73a992380303c6e230c5cb857.tar.zst nixlib-8d705d9f116a20d73a992380303c6e230c5cb857.zip |
poetry2nix: translate hashes to sha256
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/poetry2nix/poetry2nix/lib.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/poetry2nix/poetry2nix/lib.nix b/pkgs/development/tools/poetry2nix/poetry2nix/lib.nix index 39233929abb9..4d3d36fd769d 100644 --- a/pkgs/development/tools/poetry2nix/poetry2nix/lib.nix +++ b/pkgs/development/tools/poetry2nix/poetry2nix/lib.nix @@ -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 = |