lsd2dsl: fix build with boost 1.89 (#518070)

This commit is contained in:
Nikolay Korotkiy
2026-05-11 16:19:27 +00:00
committed by GitHub
+5 -1
View File
@@ -35,7 +35,11 @@ stdenv.mkDerivation (finalAttrs: {
];
postPatch = ''
substituteInPlace CMakeLists.txt --replace "-Werror" ""
substituteInPlace CMakeLists.txt \
--replace-fail "-Werror" "" \
--replace-fail 'COMPONENTS system program_options' 'COMPONENTS program_options'
substituteInPlace lib/common/CMakeLists.txt lib/duden/CMakeLists.txt lib/lingvo/CMakeLists.txt \
--replace-fail 'Boost::system' ""
'';
nativeBuildInputs = [