htop: fix on darwin

This commit is contained in:
Henry Till 2015-10-28 20:44:11 -04:00 committed by Jude Taylor
parent 7a072c1b89
commit 3374d9f90d
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, ncurses, autoconf, automake }:
{ fetchurl, stdenv, ncurses, autoconf, automake, IOKit }:
stdenv.mkDerivation rec {
name = "htop-0.8.2.2";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0qxibadn2lfqn10a5jmkv8r5ljfs0vaaa4j6psd7ppxa2w6bx5li";
};
buildInputs = [ autoconf automake ncurses ];
buildInputs = [ autoconf automake ncurses IOKit ];
preConfigure = "./autogen.sh";

View File

@ -9738,7 +9738,9 @@ let
if stdenv.isLinux then
callPackage ../os-specific/linux/htop { }
else if stdenv.isDarwin then
callPackage ../os-specific/darwin/htop { }
callPackage ../os-specific/darwin/htop {
inherit (darwin.apple_sdk.frameworks) IOKit;
}
else null;
# GNU/Hurd core packages.