fly: fix build on darwin
This commit is contained in:
parent
ae47111f90
commit
b49ca4818d
@ -1,4 +1,4 @@
|
||||
{ buildGoModule, fetchFromGitHub, lib, writeText }:
|
||||
{ buildGoModule, fetchFromGitHub, stdenv, writeText, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "fly";
|
||||
@ -20,6 +20,8 @@ buildGoModule rec {
|
||||
-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
|
||||
# call to `fly completion bash` once the `completion` subcommand has
|
||||
# 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
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A command line interface to Concourse CI";
|
||||
homepage = "https://concourse-ci.org";
|
||||
license = licenses.asl20;
|
||||
|
@ -10274,7 +10274,9 @@ in
|
||||
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 { };
|
||||
goreman = callPackage ../tools/system/goreman { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user