gkrellm: fix darwin build

This commit is contained in:
Matthew Bauer 2016-08-11 22:21:13 -05:00
parent 51085c0681
commit fe923c915d
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,5 @@
{ fetchurl, stdenv, gettext, pkgconfig, glib, gtk, libX11, libSM, libICE }:
{ fetchurl, stdenv, gettext, pkgconfig, glib, gtk, libX11, libSM, libICE
, IOKit ? null }:
stdenv.mkDerivation rec {
name = "gkrellm-2.3.5";
@ -7,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "12rc6zaa7kb60b9744lbrlfkxxfniprm6x0mispv63h4kh75navh";
};
buildInputs = [gettext pkgconfig glib gtk libX11 libSM libICE];
buildInputs = [gettext pkgconfig glib gtk libX11 libSM libICE]
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
# Makefiles are patched to fix references to `/usr/X11R6' and to add
# `-lX11' to make sure libX11's store path is in the RPATH.

View File

@ -13318,7 +13318,9 @@ in
svox = callPackage ../applications/audio/svox { };
gkrellm = callPackage ../applications/misc/gkrellm { };
gkrellm = callPackage ../applications/misc/gkrellm {
inherit (darwin) IOKit;
};
gmu = callPackage ../applications/audio/gmu { };