mesa: don't require wayland things with wayland disabled (#50559)

This commit is contained in:
Jan Malakhovski 2018-11-18 15:36:24 +00:00 committed by xeji
parent f52b7f5c34
commit ce5ba1ca44

View File

@ -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;