From 1a84f25919bcfa38926999f04fd774054c24fcbc Mon Sep 17 00:00:00 2001 From: Alois Wohlschlager Date: Wed, 13 Aug 2025 17:31:00 +0200 Subject: [PATCH] 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. --- pkgs/development/libraries/wayland/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/wayland/default.nix b/pkgs/development/libraries/wayland/default.nix index 13973da9ac35..d6655655e54b 100644 --- a/pkgs/development/libraries/wayland/default.nix +++ b/pkgs/development/libraries/wayland/default.nix @@ -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"