From a1a3e22569bf6c0a9154e776d40e8af8de465dc0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 8 Oct 2025 16:26:47 +0200 Subject: [PATCH] python313Packages.ctranslate2: add cmakeFlags for CMake >= 3.5 --- pkgs/development/python-modules/ctranslate2/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/ctranslate2/default.nix b/pkgs/development/python-modules/ctranslate2/default.nix index 031516b63965..018490ff8dac 100644 --- a/pkgs/development/python-modules/ctranslate2/default.nix +++ b/pkgs/development/python-modules/ctranslate2/default.nix @@ -39,6 +39,8 @@ buildPythonPackage rec { pyyaml ]; + cmakeFlags = [ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ]; + pythonImportsCheck = [ # https://opennmt.net/CTranslate2/python/overview.html "ctranslate2"