patches: Add other waybar build fix patch
This commit is contained in:
parent
cfbb812e67
commit
acd0da48a4
1 changed files with 36 additions and 0 deletions
36
patches/296865.patch
Normal file
36
patches/296865.patch
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
diff --git a/pkgs/applications/misc/waybar/default.nix b/pkgs/applications/misc/waybar/default.nix
|
||||||
|
index 823cf7fa75ecb8..47071c60f29424 100644
|
||||||
|
--- a/pkgs/applications/misc/waybar/default.nix
|
||||||
|
+++ b/pkgs/applications/misc/waybar/default.nix
|
||||||
|
@@ -51,6 +51,7 @@
|
||||||
|
, mpdSupport ? true
|
||||||
|
, mprisSupport ? stdenv.isLinux
|
||||||
|
, nlSupport ? true
|
||||||
|
+, pipewireSupport ? true
|
||||||
|
, pulseSupport ? true
|
||||||
|
, rfkillSupport ? true
|
||||||
|
, runTests ? true
|
||||||
|
@@ -122,7 +123,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
fftw
|
||||||
|
iniparser
|
||||||
|
ncurses
|
||||||
|
- pipewire
|
||||||
|
portaudio
|
||||||
|
]
|
||||||
|
++ lib.optional evdevSupport libevdev
|
||||||
|
@@ -139,6 +139,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
++ lib.optional udevSupport udev
|
||||||
|
++ lib.optional upowerSupport upower
|
||||||
|
++ lib.optional wireplumberSupport wireplumber
|
||||||
|
+ ++ lib.optional (cavaSupport || pipewireSupport) pipewire
|
||||||
|
++ lib.optional (!stdenv.isLinux) libinotify-kqueue;
|
||||||
|
|
||||||
|
nativeCheckInputs = [ catch2_3 ];
|
||||||
|
@@ -154,6 +155,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
"man-pages" = true;
|
||||||
|
"mpd" = mpdSupport;
|
||||||
|
"mpris" = mprisSupport;
|
||||||
|
+ "pipewire" = pipewireSupport;
|
||||||
|
"pulseaudio" = pulseSupport;
|
||||||
|
"rfkill" = rfkillSupport;
|
||||||
|
"sndio" = sndioSupport;
|
Loading…
Add table
Add a link
Reference in a new issue