@@ -1,4 +1,4 @@
1−{ stdenv, rustPlatform, fetchFromGitHub }:
1+{ stdenv, rustPlatform, fetchFromGitHub, IOKit }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "zenith";
@@ -14,6 +14,8 @@ rustPlatform.buildRustPackage rec {
1414 cargoPatches = [ ./cargo-lock.patch ];
1515 cargoSha256 = "1nyci2vjwsyfscsd520d1r5vyazb33hv4mrsysy6amss4jdf2dlq";
1616
17+ buildInputs = stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
18+
1719 meta = with stdenv.lib; {
1820 description = "Sort of like top or htop but with zoom-able charts, network, and disk usage";
1921 homepage = "https://github.com/bvaisvil/zenith";