From 3ef984c5da26ccab1831a26172bf88c81c0fbc0a Mon Sep 17 00:00:00 2001 From: Maximilian Knespel Date: Thu, 7 Mar 2024 10:13:42 +0100 Subject: [PATCH] python3Packages.indexed-zstd: Fix compilation error with Python 3.12+ --- pkgs/development/python-modules/indexed-zstd/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/indexed-zstd/default.nix b/pkgs/development/python-modules/indexed-zstd/default.nix index fee2bf675cb4..88cb6f05930a 100644 --- a/pkgs/development/python-modules/indexed-zstd/default.nix +++ b/pkgs/development/python-modules/indexed-zstd/default.nix @@ -23,6 +23,8 @@ buildPythonPackage rec { buildInputs = [ zstd.dev ]; + postPatch = "cython -3 --cplus indexed_zstd/indexed_zstd.pyx"; + # has no tests doCheck = false;