wayland: fix static build

This commit is contained in:
SCOTT-HAMILTON 2021-12-04 15:51:51 +01:00 committed by Alyssa Ross
parent cecd875c6c
commit f64b0ef6cf

View File

@ -51,6 +51,10 @@ stdenv.mkDerivation rec {
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
'';
outputs = [ "out" "bin" "dev" ] ++ lib.optionals withDocumentation [ "doc" "man" ];