3
0
Fork 0
forked from mirrors/nixpkgs

victoriametrics: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 06:21:00 -05:00
parent 3ee3f9a535
commit dba7b8e394
2 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "VictoriaMetrics";
@ -12,7 +12,10 @@ buildGoModule rec {
};
modSha256 = "0qzh3jmj7ps6xmnnmfr8bnq97kdkn58p6dxppmlypanar3zsn7vk";
meta = with lib; {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
homepage = "https://victoriametrics.com/";
description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus";
license = licenses.asl20;

View file

@ -16248,7 +16248,9 @@ in
unifiStable;
unifi = unifiStable;
victoriametrics = callPackage ../servers/nosql/victoriametrics { };
victoriametrics = callPackage ../servers/nosql/victoriametrics {
inherit (darwin.apple_sdk.frameworks) Security;
};
virtlyst = libsForQt5.callPackage ../servers/web-apps/virtlyst { };