diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 04:44:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 04:44:00 -0500 |
commit | 91aacecb693d56c2ec2de13029c3da15d6bb8dff (patch) | |
tree | 141e17ff2e9d1d36edb93cae312dd20556e41f68 /pkgs/tools/admin | |
parent | 1da05f29db72e6e1209777a3f28a5938c45c9e02 (diff) |
berglas: fix build on darwin
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r-- | pkgs/tools/admin/berglas/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/admin/berglas/default.nix b/pkgs/tools/admin/berglas/default.nix index c1c46da41b75c..d088184f7a17e 100644 --- a/pkgs/tools/admin/berglas/default.nix +++ b/pkgs/tools/admin/berglas/default.nix @@ -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"; |