3
0
Fork 0
forked from mirrors/nixpkgs

berglas: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:44:00 -05:00
parent 1da05f29db
commit 91aacecb69
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "berglas";
@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "0m2bqx102lf6nihdjbl8a08xcwi80rawvh91j1cav0njm9w5vmmm";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "A tool for managing secrets on Google Cloud";
homepage = "https://github.com/GoogleCloudPlatform/berglas";

View file

@ -769,7 +769,9 @@ in
awless = callPackage ../tools/virtualization/awless { };
berglas = callPackage ../tools/admin/berglas/default.nix { };
berglas = callPackage ../tools/admin/berglas/default.nix {
inherit (darwin.apple_sdk.frameworks) Security;
};
brakeman = callPackage ../development/tools/analysis/brakeman { };