@@ -1,16 +1,18 @@
1−{ stdenv, wayland, wayland-protocols, xorgserver, xkbcomp, xkeyboard_config, epoxy, libxslt, libunwind, makeWrapper }:
1+{ stdenv, wayland, wayland-protocols, xorgserver, xkbcomp, xkeyboard_config, epoxy, libxslt, libunwind, makeWrapper, egl-wayland }:
22
33with stdenv.lib;
44
55xorgserver.overrideAttrs (oldAttrs: {
66
77 name = "xwayland-${xorgserver.version}";
8+ buildInputs = oldAttrs.buildInputs ++ [ egl-wayland ];
89 propagatedBuildInputs = oldAttrs.propagatedBuildInputs
910 ++ [wayland wayland-protocols epoxy libxslt makeWrapper libunwind];
1011 configureFlags = [
1112 "--disable-docs"
1213 "--disable-devel-docs"
1314 "--enable-xwayland"
15+ "--enable-xwayland-eglstream"
1416 "--disable-xorg"
1517 "--disable-xvfb"
1618 "--disable-xnest"