forked from mirrors/nixpkgs
ctop: fix build on darwin
This commit is contained in:
parent
6f95d105e0
commit
acac27bbef
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ctop";
|
||||
|
@ -13,9 +13,11 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "0wxv6yzlgki7047qszx9p9xpph95bg097jkgaa0b3wbpx8vg7qml";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.build=v${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Top-like interface for container metrics";
|
||||
homepage = "https://ctop.sh/";
|
||||
license = licenses.mit;
|
||||
|
|
|
@ -18785,7 +18785,9 @@ in
|
|||
|
||||
csdp = callPackage ../applications/science/math/csdp { };
|
||||
|
||||
ctop = callPackage ../tools/system/ctop { };
|
||||
ctop = callPackage ../tools/system/ctop {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
cubicsdr = callPackage ../applications/radio/cubicsdr { wxGTK = wxGTK31; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue