diff --git a/pkgs/development/python-modules/marisa-trie/default.nix b/pkgs/development/python-modules/marisa-trie/default.nix index e47cbef20291..4cce1653ace1 100644 --- a/pkgs/development/python-modules/marisa-trie/default.nix +++ b/pkgs/development/python-modules/marisa-trie/default.nix @@ -28,6 +28,12 @@ buildPythonPackage rec { }) ]; + postPatch = '' + # https://github.com/pytries/marisa-trie/issues/132 + substituteInPlace tests/test_binary_trie.py tests/test_trie.py \ + --replace-fail MARISA_FORMAT_ERROR std::runtime_error + ''; + build-system = [ cython setuptools