summary refs log tree commit diff
diff options
context:
space:
mode:
authorNotAShelf <raf@notashelf.dev>2023-08-24 10:49:40 +0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-08-24 16:42:18 +0000
commit1810789d1d8f415e53c41ac1a7af355741885cf8 (patch)
treecd97ae062f9271f17a8323d931920b9434218f2f
parent63f858bdf8e7ec26b7cb2f73649c9b4afde924a9 (diff)
downloadnixpkgs-1810789d1d8f415e53c41ac1a7af355741885cf8.tar
nixpkgs-1810789d1d8f415e53c41ac1a7af355741885cf8.tar.gz
nixpkgs-1810789d1d8f415e53c41ac1a7af355741885cf8.tar.bz2
nixpkgs-1810789d1d8f415e53c41ac1a7af355741885cf8.tar.lz
nixpkgs-1810789d1d8f415e53c41ac1a7af355741885cf8.tar.xz
nixpkgs-1810789d1d8f415e53c41ac1a7af355741885cf8.tar.zst
nixpkgs-1810789d1d8f415e53c41ac1a7af355741885cf8.zip
waybar: add experimentalPatches option
additional bool flag to optionally enable experimental features such as wlr/workspaces
-rw-r--r--pkgs/applications/misc/waybar/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/misc/waybar/default.nix b/pkgs/applications/misc/waybar/default.nix
index 6b087c26b97..d2e49ee8fb9 100644
--- a/pkgs/applications/misc/waybar/default.nix
+++ b/pkgs/applications/misc/waybar/default.nix
@@ -44,6 +44,7 @@
 
 , cavaSupport ? true
 , evdevSupport ? true
+, experimentalPatches ? true
 , hyprlandSupport ? true
 , inputSupport ? true
 , jackSupport ? true
@@ -162,7 +163,7 @@ stdenv.mkDerivation (finalAttrs: {
     "tests" = runTests;
     "upower_glib" = upowerSupport;
     "wireplumber" = wireplumberSupport;
-  });
+  }) ++ lib.optional experimentalPatches (lib.mesonBool "experimental" true);
 
   preFixup = lib.optionalString withMediaPlayer ''
     cp $src/resources/custom_modules/mediaplayer.py $out/bin/waybar-mediaplayer.py