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"