ctranslate2: fix build with gcc 15

This commit is contained in:
wrvsrx
2026-01-01 10:24:47 +08:00
parent f665af0cdb
commit 554d9cca70

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 = [