about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-27 17:31:31 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-19 15:34:39 -0500
commit2674c54303eb3dd0040f8cc109b589e94812b753 (patch)
tree8a3240b8c6642d9dff34f161635d9f403fae2fda /pkgs/desktops/gnome-3
parent9bd8e0de3788f7c333641304b4d91e825e849003 (diff)
downloadnixlib-2674c54303eb3dd0040f8cc109b589e94812b753.tar
nixlib-2674c54303eb3dd0040f8cc109b589e94812b753.tar.gz
nixlib-2674c54303eb3dd0040f8cc109b589e94812b753.tar.bz2
nixlib-2674c54303eb3dd0040f8cc109b589e94812b753.tar.lz
nixlib-2674c54303eb3dd0040f8cc109b589e94812b753.tar.xz
nixlib-2674c54303eb3dd0040f8cc109b589e94812b753.tar.zst
nixlib-2674c54303eb3dd0040f8cc109b589e94812b753.zip
gnome3.mutter: add wayland eglstream support
This should make it possible to launch wayland sessions using nvidia hardware.
Diffstat (limited to 'pkgs/desktops/gnome-3')
-rw-r--r--pkgs/desktops/gnome-3/core/mutter/default.nix5
1 files changed, 4 insertions, 1 deletions
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
   ];