summary refs log tree commit diff
path: root/pkgs/development/libraries/wayland
diff options
context:
space:
mode:
authorSCOTT-HAMILTON <sgn.hamilton+github@protonmail.com>2021-12-04 15:51:51 +0100
committerAlyssa Ross <hi@alyssa.is>2021-12-07 22:01:37 +0000
commitf64b0ef6cfabd523bdf135c9eb0f553b11e95683 (patch)
tree5ec453ebb981e84275a410a9024a6d1b812f94b5 /pkgs/development/libraries/wayland
parentcecd875c6c9cd78c04a70574f3136e1d9464ef88 (diff)
downloadnixpkgs-f64b0ef6cfabd523bdf135c9eb0f553b11e95683.tar
nixpkgs-f64b0ef6cfabd523bdf135c9eb0f553b11e95683.tar.gz
nixpkgs-f64b0ef6cfabd523bdf135c9eb0f553b11e95683.tar.bz2
nixpkgs-f64b0ef6cfabd523bdf135c9eb0f553b11e95683.tar.lz
nixpkgs-f64b0ef6cfabd523bdf135c9eb0f553b11e95683.tar.xz
nixpkgs-f64b0ef6cfabd523bdf135c9eb0f553b11e95683.tar.zst
nixpkgs-f64b0ef6cfabd523bdf135c9eb0f553b11e95683.zip
wayland: fix static build
Diffstat (limited to 'pkgs/development/libraries/wayland')
-rw-r--r--pkgs/development/libraries/wayland/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/wayland/default.nix b/pkgs/development/libraries/wayland/default.nix
index 1d6bf0f7aa4..61e6bed9091 100644
--- a/pkgs/development/libraries/wayland/default.nix
+++ b/pkgs/development/libraries/wayland/default.nix
@@ -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" ];