nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

wlroots: make xwayland optional

Yureka ab63bfb3 f9497f05

+11 -3
+11 -3
pkgs/development/libraries/wlroots/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland-scanner 2 2 , libGL, wayland, wayland-protocols, libinput, libxkbcommon, pixman 3 3 , xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa 4 - , libpng, ffmpeg, xcbutilrenderutil, xwayland, seatd 4 + , libpng, ffmpeg, xcbutilrenderutil, seatd 5 + 6 + , enableXWayland ? true, xwayland ? null 5 7 }: 6 8 7 9 stdenv.mkDerivation rec { ··· 27 25 buildInputs = [ 28 26 libGL wayland wayland-protocols libinput libxkbcommon pixman 29 27 xcbutilwm libX11 libcap xcbutilimage xcbutilerrors mesa 30 - libpng ffmpeg xcbutilrenderutil xwayland seatd 31 - ]; 28 + libpng ffmpeg xcbutilrenderutil seatd 29 + ] 30 + ++ lib.optional enableXWayland xwayland 31 + ; 32 + 33 + mesonFlags = 34 + lib.optional (!enableXWayland) "-Dxwayland=disabled" 35 + ; 32 36 33 37 postFixup = '' 34 38 # Install ALL example programs to $examples: