git.iko.soy/typeable/nixpkgs
on master help sign in
zenith: enable on darwin
commit48ec5da6acab3bbfd2fc580fb1201d3bd6565d55 authorMario Rodas <marsam@users.noreply.github.com> dateSat 4 Apr 2020, 16:20 (7 years ago) parent26e8ab5
2 files changed+6−2
pkgs/tools/system/zenith/default.nix+3−1 pkgs/top-level/all-packages.nix+3−1
pkgs/tools/system/zenith/default.nix+3−1
@@ -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";
pkgs/top-level/all-packages.nix+3−1
@@ -7720,7 +7720,9 @@ in
77207720
77217721 zdelta = callPackage ../tools/compression/zdelta { };
77227722
7723− zenith = callPackage ../tools/system/zenith {};
7723+ zenith = callPackage ../tools/system/zenith {
7724+ inherit (darwin.apple_sdk.frameworks) IOKit;
7725+ };
77247726
77257727 zerotierone = callPackage ../tools/networking/zerotierone { };
77267728