playwright-driver: fix webkit build

fixes #425505
This commit is contained in:
Konstantin Alekseev
2025-07-16 14:41:50 +03:00
parent 0f4060b1e4
commit 57a191e6f8
+5 -1
View File
@@ -102,7 +102,11 @@ let
hash = "sha256-X4fbYTMS+kHfZRbeGzSdBW5jQKw8UN44FEyFRUtw0qo=";
})
];
postPatch = "";
postPatch = ''
# Fix multiple definition errors by using C++17 instead of C++11
substituteInPlace CMakeLists.txt \
--replace "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 17)"
'';
postInstall = "";
cmakeFlags =