From ce5ba1ca44c406db592e154dc908a3eb56e2daac Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Sun, 18 Nov 2018 15:36:24 +0000 Subject: mesa: don't require wayland things with wayland disabled (#50559) --- pkgs/development/libraries/mesa/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') 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; -- cgit 1.4.1