jx: fix build on darwin
This commit is contained in:
parent
5ba0036271
commit
8b8dff4cc9
|
@ -1,4 +1,4 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
name = "jx";
|
||||
|
@ -16,6 +16,8 @@ buildGoModule rec {
|
|||
./3321-fix-location-of-thrift.patch
|
||||
];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
modSha256 = "0ljf0c0c3pc12nmhdbrwflcaj6hs8igzjw5hi6fyhi6n9cy87vac";
|
||||
|
||||
subPackages = [ "cmd/jx" ];
|
||||
|
@ -26,7 +28,7 @@ buildGoModule rec {
|
|||
-X github.com/jenkins-x/jx/pkg/version.Revision=${version}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "JX is a command line tool for installing and using Jenkins X.";
|
||||
homepage = https://jenkins-x.io;
|
||||
longDescription = ''
|
||||
|
|
|
@ -25919,7 +25919,9 @@ in
|
|||
|
||||
sqsh = callPackage ../development/tools/sqsh { };
|
||||
|
||||
jx = callPackage ../applications/networking/cluster/jx {};
|
||||
jx = callPackage ../applications/networking/cluster/jx {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
prow = callPackage ../applications/networking/cluster/prow {
|
||||
# Version 2019-08-14 fails to build with go 1.13 due to dependencies:
|
||||
|
|
Loading…
Reference in a new issue