diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:50:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:50:00 -0500 |
commit | dba5b006e205f89dfeff7a884906524edbf63ce2 (patch) | |
tree | 846e03338b9cea04e6752b1ea4036248bdc57a18 /pkgs/development/tools/proto-contrib | |
parent | b6b516f7cfcdea860e8d09c53c40de5667ecb921 (diff) | |
download | nixpkgs-dba5b006e205f89dfeff7a884906524edbf63ce2.tar nixpkgs-dba5b006e205f89dfeff7a884906524edbf63ce2.tar.gz nixpkgs-dba5b006e205f89dfeff7a884906524edbf63ce2.tar.bz2 nixpkgs-dba5b006e205f89dfeff7a884906524edbf63ce2.tar.lz nixpkgs-dba5b006e205f89dfeff7a884906524edbf63ce2.tar.xz nixpkgs-dba5b006e205f89dfeff7a884906524edbf63ce2.tar.zst nixpkgs-dba5b006e205f89dfeff7a884906524edbf63ce2.zip |
proto-contrib: fix build on darwin
Diffstat (limited to 'pkgs/development/tools/proto-contrib')
-rw-r--r-- | pkgs/development/tools/proto-contrib/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/tools/proto-contrib/default.nix b/pkgs/development/tools/proto-contrib/default.nix index 83668389556..adb0df28ce1 100644 --- a/pkgs/development/tools/proto-contrib/default.nix +++ b/pkgs/development/tools/proto-contrib/default.nix @@ -1,4 +1,4 @@ -{ buildGoModule, fetchFromGitHub, lib }: +{ buildGoModule, fetchFromGitHub, stdenv, Security }: buildGoModule rec { pname = "proto-contrib"; @@ -13,7 +13,9 @@ buildGoModule rec { modSha256 = "19cqz13jd95d5vibd10420gg69ldgf6afc51mkglhafgmmif56b0"; - meta = with lib; { + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; + + meta = with stdenv.lib; { description = "Contributed tools and other packages on top of the Go proto package"; homepage = https://github.com/emicklei/proto-contrib; license = licenses.mit; |