about summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorjmc-figueira <jmc.figueira@campus.fct.unl.pt>2022-01-21 18:23:57 +0000
committerjmc-figueira <jmc.figueira@campus.fct.unl.pt>2022-01-21 18:23:57 +0000
commit0ac894e7d1d91e32fdcdc901229f16f27f321374 (patch)
tree6f3ad27a9cb12f2dc6c3d8d051234c4f1cd015bd /pkgs/misc
parent74f85d3714d5af52f199114af65012d531be730b (diff)
wine-wayland: disabled Xinerama support for Wayland builds, removing needless dependencies
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/emulators/wine/base.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/emulators/wine/base.nix b/pkgs/misc/emulators/wine/base.nix
index 30bb898ebb92..ee17898fb72e 100644
--- a/pkgs/misc/emulators/wine/base.nix
+++ b/pkgs/misc/emulators/wine/base.nix
@@ -66,7 +66,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
   ++ lib.optional fontconfigSupport      pkgs.fontconfig
   ++ lib.optional alsaSupport            pkgs.alsa-lib
   ++ lib.optional pulseaudioSupport      pkgs.libpulseaudio
-  ++ lib.optional xineramaSupport        pkgs.xorg.libXinerama
+  ++ lib.optional (xineramaSupport && !waylandSupport) pkgs.xorg.libXinerama
   ++ lib.optional udevSupport            pkgs.udev
   ++ lib.optional vulkanSupport          pkgs.vulkan-loader
   ++ lib.optional sdlSupport             pkgs.SDL2