mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
waybar: add experimentalPatches option
additional bool flag to optionally enable experimental features such as wlr/workspaces
This commit is contained in:
parent
63f858bdf8
commit
1810789d1d
@ -44,6 +44,7 @@
|
|||||||
|
|
||||||
, cavaSupport ? true
|
, cavaSupport ? true
|
||||||
, evdevSupport ? true
|
, evdevSupport ? true
|
||||||
|
, experimentalPatches ? true
|
||||||
, hyprlandSupport ? true
|
, hyprlandSupport ? true
|
||||||
, inputSupport ? true
|
, inputSupport ? true
|
||||||
, jackSupport ? true
|
, jackSupport ? true
|
||||||
@ -162,7 +163,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"tests" = runTests;
|
"tests" = runTests;
|
||||||
"upower_glib" = upowerSupport;
|
"upower_glib" = upowerSupport;
|
||||||
"wireplumber" = wireplumberSupport;
|
"wireplumber" = wireplumberSupport;
|
||||||
});
|
}) ++ lib.optional experimentalPatches (lib.mesonBool "experimental" true);
|
||||||
|
|
||||||
preFixup = lib.optionalString withMediaPlayer ''
|
preFixup = lib.optionalString withMediaPlayer ''
|
||||||
cp $src/resources/custom_modules/mediaplayer.py $out/bin/waybar-mediaplayer.py
|
cp $src/resources/custom_modules/mediaplayer.py $out/bin/waybar-mediaplayer.py
|
||||||
|
Loading…
Reference in New Issue
Block a user