waybar: add option for en-/disabling niri support (#361152)
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
jackSupport ? true,
|
||||
mpdSupport ? true,
|
||||
mprisSupport ? stdenv.hostPlatform.isLinux,
|
||||
niriSupport ? true,
|
||||
nlSupport ? true,
|
||||
pipewireSupport ? true,
|
||||
pulseSupport ? true,
|
||||
@@ -187,7 +188,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"upower_glib" = upowerSupport;
|
||||
"wireplumber" = wireplumberSupport;
|
||||
})
|
||||
++ lib.optional experimentalPatches (lib.mesonBool "experimental" true);
|
||||
++ (lib.mapAttrsToList lib.mesonBool {
|
||||
"experimental" = experimentalPatches;
|
||||
"niri" = niriSupport;
|
||||
});
|
||||
|
||||
env = lib.optionalAttrs systemdSupport {
|
||||
PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user";
|
||||
|
||||
Reference in New Issue
Block a user