python3Packages.coal: Revert fix build with boost 1.89

This reverts commit eb953e2372.
Fixed upstream in 3.0.3
This commit is contained in:
Guilhem Saurel
2026-05-05 18:54:33 +02:00
parent 966ffd651b
commit e4855e662f
@@ -17,17 +17,6 @@ toPythonModule (
coal.overrideAttrs (super: {
pname = "py-${super.pname}";
# Finding `boost_system` fails because the stub compiled library of
# Boost.System, which has been a header-only library since 1.69, was
# removed in 1.89.
# See https://www.boost.org/releases/1.89.0/ for details.
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail \
"find_package(Boost REQUIRED COMPONENTS system)" \
"find_package(Boost REQUIRED OPTIONAL_COMPONENTS system)"
'';
cmakeFlags = super.cmakeFlags ++ [
(lib.cmakeBool "BUILD_PYTHON_INTERFACE" true)
(lib.cmakeBool "BUILD_STANDALONE_PYTHON_INTERFACE" buildStandalone)