drone: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:52:00 -05:00
parent 282966fc4e
commit d557b441ac
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule }:
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
buildGoModule rec {
name = "drone.io-${version}";
@ -14,6 +14,8 @@ buildGoModule rec {
sha256 = "05cgd72qyss836fby0adhrm5p8g7639psk2yslhg6pmz0cqfbq9m";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
maintainers = with maintainers; [ elohmeier vdemeester ];
license = licenses.asl20;

View File

@ -2981,7 +2981,9 @@ in
driftnet = callPackage ../tools/networking/driftnet {};
drone = callPackage ../development/tools/continuous-integration/drone { };
drone = callPackage ../development/tools/continuous-integration/drone {
inherit (darwin.apple_sdk.frameworks) Security;
};
drone-cli = callPackage ../development/tools/continuous-integration/drone-cli { };