wayland: fix static build (#433425)

This commit is contained in:
Wolfgang Walther
2025-08-16 09:35:45 +00:00
committed by GitHub
@@ -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"