gkrellm: fix darwin build
This commit is contained in:
parent
51085c0681
commit
fe923c915d
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "gkrellm-2.3.5";
|
name = "gkrellm-2.3.5";
|
||||||
@ -7,7 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "12rc6zaa7kb60b9744lbrlfkxxfniprm6x0mispv63h4kh75navh";
|
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
|
# Makefiles are patched to fix references to `/usr/X11R6' and to add
|
||||||
# `-lX11' to make sure libX11's store path is in the RPATH.
|
# `-lX11' to make sure libX11's store path is in the RPATH.
|
||||||
|
@ -13318,7 +13318,9 @@ in
|
|||||||
|
|
||||||
svox = callPackage ../applications/audio/svox { };
|
svox = callPackage ../applications/audio/svox { };
|
||||||
|
|
||||||
gkrellm = callPackage ../applications/misc/gkrellm { };
|
gkrellm = callPackage ../applications/misc/gkrellm {
|
||||||
|
inherit (darwin) IOKit;
|
||||||
|
};
|
||||||
|
|
||||||
gmu = callPackage ../applications/audio/gmu { };
|
gmu = callPackage ../applications/audio/gmu { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user