forked from mirrors/nixpkgs
berglas: fix build on darwin
This commit is contained in:
parent
1da05f29db
commit
91aacecb69
|
@ -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";
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue