-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
waybar: 0.9.0 -> 0.9.1, fix build #80417
Conversation
Following #78458 (comment), I'd prefer to name it Also could you, as you are already editing the package, add Thanks for the fix and the upstream PRs! |
I agree, |
Needed for waybar-0.9.1. Closes NixOS#78458 Co-authored-by: Cole Mickens <[email protected]>
@erictapen fixed :) |
When building with pulseaudio support it fails:
It works when backporting this patch: Alexays/Waybar@129713f: diff --git a/pkgs/applications/misc/waybar/default.nix b/pkgs/applications/misc/waybar/default.nix
index 69d6ff84268..d302b3c58c2 100644
--- a/pkgs/applications/misc/waybar/default.nix
+++ b/pkgs/applications/misc/waybar/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, meson, pkgconfig, ninja, wrapGAppsHook
+{ stdenv, fetchFromGitHub, fetchpatch, meson, pkgconfig, ninja, wrapGAppsHook
, wayland, wlroots, gtkmm3, libinput, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell
, howard-hinnant-date, cmake
, traySupport ? true, libdbusmenu-gtk3
@@ -46,6 +46,13 @@
"-Dsystemd=disabled"
];
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/Alexays/Waybar/commit/129713fe1b8986fb4722b8e439b16508f063b3e7.patch";
+ sha256 = "1zphcyh0097c5m2s6p93i674q5im4zm8bp0hqb607afsk6vi2qd8";
+ })
+ ];
+
meta = with stdenv.lib; {
description = "Highly customizable Wayland bar for Sway and Wlroots based compositors";
license = licenses.mit; |
What did you do to invoke the command? When running
EDIT: are you sure you're building waybar on the correct branch? The patch you linked appears to be in 0.9.1 (Alexays/Waybar@129713f). |
This comment has been minimized.
This comment has been minimized.
I'm sorry I had some override in my overlay that I forgot about :( The build works fine |
Motivation for this change
ZHF: #80379
https://hydra.nixos.org/build/113067187
Also supersedes #78458 as
date
is needed to build waybar-0.9.1.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)