summary refs log tree commit diff
path: root/pkgs/development/libraries/mesa
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-11-18 15:36:24 +0000
committerxeji <36407913+xeji@users.noreply.github.com>2018-11-18 16:36:24 +0100
commitce5ba1ca44c406db592e154dc908a3eb56e2daac (patch)
tree6dce6070a7d76d7bec120a6141a87fde5bad7efc /pkgs/development/libraries/mesa
parentf52b7f5c3457d8653f47041274d9d8020e73c7b1 (diff)
downloadnixpkgs-ce5ba1ca44c406db592e154dc908a3eb56e2daac.tar
nixpkgs-ce5ba1ca44c406db592e154dc908a3eb56e2daac.tar.gz
nixpkgs-ce5ba1ca44c406db592e154dc908a3eb56e2daac.tar.bz2
nixpkgs-ce5ba1ca44c406db592e154dc908a3eb56e2daac.tar.lz
nixpkgs-ce5ba1ca44c406db592e154dc908a3eb56e2daac.tar.xz
nixpkgs-ce5ba1ca44c406db592e154dc908a3eb56e2daac.tar.zst
nixpkgs-ce5ba1ca44c406db592e154dc908a3eb56e2daac.zip
mesa: don't require wayland things with wayland disabled (#50559)
Diffstat (limited to 'pkgs/development/libraries/mesa')
-rw-r--r--pkgs/development/libraries/mesa/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index d2539f8d54e..fe88b26acc1 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -148,8 +148,8 @@ let self = stdenv.mkDerivation {
     libffi libvdpau libelf libXvMC
     libpthreadstubs openssl/*or another sha1 provider*/
     valgrind-light python2 python2.pkgs.Mako
-  ] ++ lib.optionals stdenv.isLinux [ wayland wayland-protocols
-                                      libomxil-bellagio libva-minimal ];
+  ] ++ lib.optionals (elem "wayland" eglPlatforms) [ wayland wayland-protocols ]
+    ++ lib.optionals stdenv.isLinux [ libomxil-bellagio libva-minimal ];
 
   enableParallelBuilding = true;
   doCheck = false;