drone: fix build on darwin
This commit is contained in:
parent
282966fc4e
commit
d557b441ac
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, buildGoModule }:
|
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
name = "drone.io-${version}";
|
name = "drone.io-${version}";
|
||||||
@ -14,6 +14,8 @@ buildGoModule rec {
|
|||||||
sha256 = "05cgd72qyss836fby0adhrm5p8g7639psk2yslhg6pmz0cqfbq9m";
|
sha256 = "05cgd72qyss836fby0adhrm5p8g7639psk2yslhg6pmz0cqfbq9m";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
maintainers = with maintainers; [ elohmeier vdemeester ];
|
maintainers = with maintainers; [ elohmeier vdemeester ];
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
@ -2981,7 +2981,9 @@ in
|
|||||||
|
|
||||||
driftnet = callPackage ../tools/networking/driftnet {};
|
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 { };
|
drone-cli = callPackage ../development/tools/continuous-integration/drone-cli { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user