mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
htop: fix on darwin
This commit is contained in:
parent
7a072c1b89
commit
3374d9f90d
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, ncurses, autoconf, automake }:
|
{ fetchurl, stdenv, ncurses, autoconf, automake, IOKit }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "htop-0.8.2.2";
|
name = "htop-0.8.2.2";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0qxibadn2lfqn10a5jmkv8r5ljfs0vaaa4j6psd7ppxa2w6bx5li";
|
sha256 = "0qxibadn2lfqn10a5jmkv8r5ljfs0vaaa4j6psd7ppxa2w6bx5li";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ autoconf automake ncurses ];
|
buildInputs = [ autoconf automake ncurses IOKit ];
|
||||||
|
|
||||||
preConfigure = "./autogen.sh";
|
preConfigure = "./autogen.sh";
|
||||||
|
|
||||||
|
@ -9738,7 +9738,9 @@ let
|
|||||||
if stdenv.isLinux then
|
if stdenv.isLinux then
|
||||||
callPackage ../os-specific/linux/htop { }
|
callPackage ../os-specific/linux/htop { }
|
||||||
else if stdenv.isDarwin then
|
else if stdenv.isDarwin then
|
||||||
callPackage ../os-specific/darwin/htop { }
|
callPackage ../os-specific/darwin/htop {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||||
|
}
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
# GNU/Hurd core packages.
|
# GNU/Hurd core packages.
|
||||||
|
Loading…
Reference in New Issue
Block a user