mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
ctranslate2: fix build with gcc 15
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user