diff --git a/pkgs/tools/audio/gvolicon/default.nix b/pkgs/tools/audio/gvolicon/default.nix index 87741cf0ac07..7354b92aaf94 100644 --- a/pkgs/tools/audio/gvolicon/default.nix +++ b/pkgs/tools/audio/gvolicon/default.nix @@ -13,7 +13,9 @@ stdenv.mkDerivation { librsvg wrapGAppsHook ]; - makeFlags="PREFIX=$(out)"; + makeFlags = [ "PREFIX=$(out)" ]; + + NIX_CFLAGS_COMPILE = [ "-D_POSIX_C_SOURCE" ]; meta = { description = "A simple and lightweight volume icon that sits in your system tray";