From 60613e783df1d3316f46412b632c55d53296c43a Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sat, 19 Jul 2025 12:22:30 +0200 Subject: [PATCH] volumeicon: fix missing gettext ac macros after gettext 0.25 This change is modeled after . It looks like there are many approaches to fixing this sort of issue at the moment. I'm not sure what the best/proper way to do it should be. --- pkgs/by-name/vo/volumeicon/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/vo/volumeicon/package.nix b/pkgs/by-name/vo/volumeicon/package.nix index c8925b4ce9a4..6e8302d58f59 100644 --- a/pkgs/by-name/vo/volumeicon/package.nix +++ b/pkgs/by-name/vo/volumeicon/package.nix @@ -7,6 +7,7 @@ pkg-config, gtk3, alsa-lib, + gettext, }: stdenv.mkDerivation rec { @@ -31,6 +32,10 @@ stdenv.mkDerivation rec { alsa-lib ]; + # Work around regressions introduced by bad interaction between + # gettext >= 0.25 and autoconf (2.72 at the time of writing). + env.ACLOCAL = "aclocal -I ${gettext}/share/gettext/m4"; + meta = with lib; { description = "Lightweight volume control that sits in your systray"; homepage = "https://nullwise.com/pages/volumeicon/volumeicon.html";