mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 13:16:40 +03:00
eksctl: fix build on darwin
This commit is contained in:
parent
6552397b67
commit
da93b5a367
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "eksctl";
|
pname = "eksctl";
|
||||||
@ -13,6 +13,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "0f8dlcp3q84fa5dnnzx4347ngb1raw1mxkcqpz2s3zq6d1kv0nvf";
|
modSha256 = "0f8dlcp3q84fa5dnnzx4347ngb1raw1mxkcqpz2s3zq6d1kv0nvf";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = [ "cmd/eksctl" ];
|
subPackages = [ "cmd/eksctl" ];
|
||||||
|
|
||||||
buildFlags = [ "-tags netgo" "-tags release" ];
|
buildFlags = [ "-tags netgo" "-tags release" ];
|
||||||
@ -25,7 +27,7 @@ buildGoModule rec {
|
|||||||
$out/bin/eksctl completion zsh > "$out/share/zsh/site-functions/_eksctl"
|
$out/bin/eksctl completion zsh > "$out/share/zsh/site-functions/_eksctl"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A CLI for Amazon EKS";
|
description = "A CLI for Amazon EKS";
|
||||||
homepage = "https://github.com/weaveworks/eksctl";
|
homepage = "https://github.com/weaveworks/eksctl";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
@ -1750,7 +1750,9 @@ in
|
|||||||
|
|
||||||
eggdrop = callPackage ../tools/networking/eggdrop { };
|
eggdrop = callPackage ../tools/networking/eggdrop { };
|
||||||
|
|
||||||
eksctl = callPackage ../tools/admin/eksctl { };
|
eksctl = callPackage ../tools/admin/eksctl {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
elementary-xfce-icon-theme = callPackage ../data/icons/elementary-xfce-icon-theme { };
|
elementary-xfce-icon-theme = callPackage ../data/icons/elementary-xfce-icon-theme { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user