fly: fix build on darwin
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ buildGoModule, fetchFromGitHub, lib, writeText }:
|
{ buildGoModule, fetchFromGitHub, stdenv, writeText, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "fly";
|
pname = "fly";
|
||||||
@@ -20,6 +20,8 @@ buildGoModule rec {
|
|||||||
-X github.com/concourse/concourse.Version=${version}
|
-X github.com/concourse/concourse.Version=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
# The fly.bash file included with this derivation can be replaced by a
|
# The fly.bash file included with this derivation can be replaced by a
|
||||||
# call to `fly completion bash` once the `completion` subcommand has
|
# call to `fly completion bash` once the `completion` subcommand has
|
||||||
# made it into a release. Similarly, `fly completion zsh` will provide
|
# made it into a release. Similarly, `fly completion zsh` will provide
|
||||||
@@ -28,7 +30,7 @@ buildGoModule rec {
|
|||||||
install -D -m 444 ${./fly.bash} $out/share/bash-completion/completions/fly
|
install -D -m 444 ${./fly.bash} $out/share/bash-completion/completions/fly
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A command line interface to Concourse CI";
|
description = "A command line interface to Concourse CI";
|
||||||
homepage = "https://concourse-ci.org";
|
homepage = "https://concourse-ci.org";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
|||||||
@@ -10274,7 +10274,9 @@ in
|
|||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||||
};
|
};
|
||||||
|
|
||||||
fly = callPackage ../development/tools/continuous-integration/fly { };
|
fly = callPackage ../development/tools/continuous-integration/fly {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
foreman = callPackage ../tools/system/foreman { };
|
foreman = callPackage ../tools/system/foreman { };
|
||||||
goreman = callPackage ../tools/system/goreman { };
|
goreman = callPackage ../tools/system/goreman { };
|
||||||
|
|||||||
Reference in New Issue
Block a user