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"