summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-08-01 04:09:48 +0300
committerArtturin <Artturin@artturin.com>2021-08-01 04:09:48 +0300
commit72d43569121a8e3053e717a20dabb1ec550b40d0 (patch)
treebb888d76e7360ae6723b1c7d7861400613f32245 /pkgs
parentecc968543c6d2911303f32ad92b354661a0663d9 (diff)
downloadnixpkgs-72d43569121a8e3053e717a20dabb1ec550b40d0.tar
nixpkgs-72d43569121a8e3053e717a20dabb1ec550b40d0.tar.gz
nixpkgs-72d43569121a8e3053e717a20dabb1ec550b40d0.tar.bz2
nixpkgs-72d43569121a8e3053e717a20dabb1ec550b40d0.tar.lz
nixpkgs-72d43569121a8e3053e717a20dabb1ec550b40d0.tar.xz
nixpkgs-72d43569121a8e3053e717a20dabb1ec550b40d0.tar.zst
nixpkgs-72d43569121a8e3053e717a20dabb1ec550b40d0.zip
enlightenment: add wayland support
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/desktops/enlightenment/enlightenment/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/desktops/enlightenment/enlightenment/default.nix b/pkgs/desktops/enlightenment/enlightenment/default.nix
index 84cadd20949..76beac1392d 100644
--- a/pkgs/desktops/enlightenment/enlightenment/default.nix
+++ b/pkgs/desktops/enlightenment/enlightenment/default.nix
@@ -13,6 +13,7 @@
 , xkeyboard_config
 , udisks2
 
+, waylandSupport ? false, wayland-protocols, xwayland
 , bluetoothSupport ? true, bluez5
 , pulseSupport ? !stdenv.isDarwin, libpulseaudio
 }:
@@ -45,6 +46,7 @@ stdenv.mkDerivation rec {
   ]
   ++ lib.optional bluetoothSupport bluez5 # for bluetooth configuration and control
   ++ lib.optional pulseSupport libpulseaudio # for proper audio device control and redirection
+  ++ lib.optionals waylandSupport [ wayland-protocols xwayland ]
   ;
 
   patches = [
@@ -62,7 +64,7 @@ stdenv.mkDerivation rec {
 
   mesonFlags = [
     "-D systemdunitdir=lib/systemd/user"
-  ];
+  ] ++ lib.optional waylandSupport "-Dwl=true";
 
   passthru.providedSessions = [ "enlightenment" ];