Waybar failing to build on nixos-rebuild

Previously waybar worked just fine but since I fiddled with some configs, it’s been throwing an error.
Here’s the result from “nix log /nix/store/wp5d5205rv1kdz2rrz4jgknqjy6y2pm5-waybar-0.10.0.drv”:

The Meson build system
Version: 1.3.2
Source dir: /build/source
Build dir: /build/source/build
Build type: native build
Project name: waybar
Project version: 0.10.0
C compiler for the host machine: gcc (gcc 13.2.0 "gcc (GCC) 13.2.0")
C linker for the host machine: gcc ld.bfd 2.41
C++ compiler for the host machine: g++ (gcc 13.2.0 "g++ (GCC) 13.2.0")
C++ linker for the host machine: g++ ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports link arguments -lc++fs: NO
Compiler for C++ supports link arguments -lstdc++fs: YES
Program git found: NO
Checking if "nl_langinfo with _NL_TIME_WEEK_1STDAY, _NL_TIME_FIRST_WEEKDAY" : links: YES
Run-time dependency threads found: YES
Found pkg-config: YES (/nix/store/a3752l19hc76dmzh1wgrxbsxh6lfx67z-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
Run-time dependency fmt found: YES 10.2.1
Run-time dependency spdlog found: YES 1.13.0
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency wayland-cursor found: YES 1.22.0
Run-time dependency wayland-protocols found: YES 1.33
Run-time dependency gtkmm-3.0 found: YES 3.24.8
Run-time dependency dbusmenu-gtk3-0.4 found: YES 16.04.0
Run-time dependency gio-unix-2.0 found: YES 2.78.4
Run-time dependency jsoncpp found: YES 1.9.5
Run-time dependency sigc++-2.0 found: YES 2.12.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libinotify found: NO (tried pkgconfig and cmake)
Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)
Run-time dependency libinput found: YES 1.25.0
Run-time dependency libnl-3.0 found: YES 3.8.0
Run-time dependency libnl-genl-3.0 found: YES 3.8.0
Run-time dependency upower-glib found: YES 1.90.2
Run-time dependency libpipewire-0.3 found: YES 1.0.3
Run-time dependency playerctl found: YES 2.4.1
Run-time dependency libpulse found: YES 17.0
Run-time dependency libudev found: YES 255
Run-time dependency libevdev found: YES 1.13.1
Run-time dependency libmpdclient found: YES 2.22
Run-time dependency xkbregistry found: YES 1.5.0
Run-time dependency jack found: YES 1.9.22
Run-time dependency wireplumber-0.4 found: NO (tried pkgconfig)

Waybar as of 2024-03-20T21:00:00Z does not build successfully on the unstable branch.

Check out

Are you using home-manager or configuration.nix? Check if you are on unstable and move to 23-11 if you need it to work at the moment.

1 Like

I’ll check that out thanks!

You’re probably using nixpkgs-wayland and nixos-unstable. I’m currently suffering this too.

see: Update Wireplumber API to 0.5 by tokyovigilante · Pull Request #2919 · Alexays/Waybar · GitHub

Already fixed here. You can override the wireplumber version on the waybar build or wait until it reaches the unstable branch.

2 Likes

It reached nixos-unstable!

https://nixpk.gs/pr-tracker.html?pr=297158

2 Likes