diff --git a/pkgs/development/python-modules/blspy/default.nix b/pkgs/development/python-modules/blspy/default.nix index 1c5363ed7afe86..72ba6c38f847a1 100644 --- a/pkgs/development/python-modules/blspy/default.nix +++ b/pkgs/development/python-modules/blspy/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , fetchFromGitHub +, fetchpatch , setuptools-scm , substituteAll , cmake @@ -40,6 +41,12 @@ buildPythonPackage rec { fetchSubmodules = true; }; }) + + # avoid dynamic linking error at import time + (fetchpatch { + url = "https://github.com/Chia-Network/bls-signatures/pull/287/commits/797241e9dae1c164c862cbdb38c865d4b124a601.patch"; + sha256 = "sha256-tlc4aA75gUxt5OaSNZqIlO//PXjmddVgVLYuVEFNmkE="; + }) ]; nativeBuildInputs = [ cmake setuptools-scm ];