From 964456db61782f30415c70a60dc5ae46950f22ac Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sun, 12 Jan 2025 13:02:56 -0500 Subject: [PATCH] datrie: fix build --- pkgs/development/python-modules/datrie/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/datrie/default.nix b/pkgs/development/python-modules/datrie/default.nix index 4c6de5beccd94..c76e36e6b21f4 100644 --- a/pkgs/development/python-modules/datrie/default.nix +++ b/pkgs/development/python-modules/datrie/default.nix @@ -24,12 +24,15 @@ buildPythonPackage rec { --replace '"pytest-runner", ' "" ''; - nativeBuildInputs = [ + dependencies = [ setuptools wheel cython ]; + # workaround https://github.com/pytries/datrie/issues/101 + env.CFLAGS = "-Wno-error=incompatible-pointer-types"; + nativeCheckInputs = [ hypothesis pytestCheckHook