ctranslate2: fix build with gcc 15 (#475773)

This commit is contained in:
Aleksana
2026-01-01 03:43:46 +00:00
committed by GitHub

View File

@@ -49,6 +49,8 @@ stdenv'.mkDerivation (finalAttrs: {
--replace-fail \
'CMAKE_MINIMUM_REQUIRED(VERSION 3.1 FATAL_ERROR)' \
'CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR)'
sed -e '1i #include <cstdint>' -i third_party/cxxopts/include/cxxopts.hpp
'';
nativeBuildInputs = [