From 1810789d1d8f415e53c41ac1a7af355741885cf8 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 24 Aug 2023 10:49:40 +0300 Subject: [PATCH] waybar: add experimentalPatches option additional bool flag to optionally enable experimental features such as wlr/workspaces --- pkgs/applications/misc/waybar/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/waybar/default.nix b/pkgs/applications/misc/waybar/default.nix index 6b087c26b97b..d2e49ee8fb90 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