wayland: fix static build

In commit f64b0ef6cfabd523bdf135c9eb0f553b11e95683 a crude patch was introduced
to disable a test on static builds, due to it failing to link with multiple
definition errors. The patch now leads to a syntax error due to changed
formatting upstream, and the linker failure does not happen any more. Remove
patch.
This commit is contained in:
Alois Wohlschlager 2025-08-13 17:31:00 +02:00
parent 85dbfc7aaf
commit 1a84f25919
No known key found for this signature in database
GPG Key ID: E0F59EA5E5216914

View File

@ -36,15 +36,9 @@ stdenv.mkDerivation (finalAttrs: {
./darwin.patch
];
postPatch =
lib.optionalString withDocumentation ''
patchShebangs doc/doxygen/gen-doxygen.py
''
+ lib.optionalString stdenv.hostPlatform.isStatic ''
# delete line containing os-wrappers-test, disables
# the building of os-wrappers-test
sed -i '/os-wrappers-test/d' tests/meson.build
'';
postPatch = lib.optionalString withDocumentation ''
patchShebangs doc/doxygen/gen-doxygen.py
'';
outputs = [
"out"