Commit 60613e78 authored by sternenseemann's avatar sternenseemann
Browse files

volumeicon: fix missing gettext ac macros after gettext 0.25

This change is modeled after
<https://github.com/NixOS/nixpkgs/pull/425784>. 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.
parent ab889762
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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";