From 2674c54303eb3dd0040f8cc109b589e94812b753 Mon Sep 17 00:00:00 2001 From: worldofpeace <worldofpeace@protonmail.ch> Date: Fri, 27 Sep 2019 17:31:31 -0400 Subject: [PATCH] gnome3.mutter: add wayland eglstream support This should make it possible to launch wayland sessions using nvidia hardware. --- pkgs/desktops/gnome-3/core/mutter/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome-3/core/mutter/default.nix b/pkgs/desktops/gnome-3/core/mutter/default.nix index d2745c2a90d5..03418c179f94 100644 --- a/pkgs/desktops/gnome-3/core/mutter/default.nix +++ b/pkgs/desktops/gnome-3/core/mutter/default.nix @@ -10,6 +10,7 @@ , sysprof , desktop-file-utils , libcap_ng +, egl-wayland }: stdenv.mkDerivation rec { @@ -26,6 +27,8 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Dxwayland-path=${xwayland}/bin/Xwayland" "-Dinstalled_tests=false" # TODO: enable these + "-Dwayland_eglstream=true" + "-Degl_device=true" ]; propagatedBuildInputs = [ @@ -52,7 +55,7 @@ stdenv.mkDerivation rec { gnome-desktop cairo pango cogl zenity libstartup_notification geocode-glib libinput libgudev libwacom libcanberra-gtk3 zenity xkeyboard_config libxkbfile - libxkbcommon pipewire xwayland + libxkbcommon pipewire xwayland egl-wayland gnome-settings-daemon sysprof ];