thanos: fix build on darwin
This commit is contained in:
parent
c70cc016d7
commit
3ee3f9a535
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "thanos";
|
pname = "thanos";
|
||||||
version = "0.11.0";
|
version = "0.11.0";
|
||||||
@ -12,6 +12,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "1pdypyyy352l6wy5lr94fv8j890lh863h8zg2hxchiymrs5pgq1c";
|
modSha256 = "1pdypyyy352l6wy5lr94fv8j890lh863h8zg2hxchiymrs5pgq1c";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = "cmd/thanos";
|
subPackages = "cmd/thanos";
|
||||||
|
|
||||||
buildFlagsArray = let t = "github.com/prometheus/common/version"; in ''
|
buildFlagsArray = let t = "github.com/prometheus/common/version"; in ''
|
||||||
|
@ -16206,7 +16206,9 @@ in
|
|||||||
|
|
||||||
tailscale = callPackage ../servers/tailscale { };
|
tailscale = callPackage ../servers/tailscale { };
|
||||||
|
|
||||||
thanos = callPackage ../servers/monitoring/thanos { };
|
thanos = callPackage ../servers/monitoring/thanos {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
inherit (callPackages ../servers/http/tomcat { })
|
inherit (callPackages ../servers/http/tomcat { })
|
||||||
tomcat7
|
tomcat7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user