hetzner-kube: fix build on darwin
This commit is contained in:
parent
4c6e7e64a0
commit
e0ce72f901
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "hetzner-kube";
|
pname = "hetzner-kube";
|
||||||
@ -13,16 +13,18 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "0jjrk93wdi13wrb5gchhqk7rgwm74kcizrbqsibgkgs2dszwfazh";
|
modSha256 = "0jjrk93wdi13wrb5gchhqk7rgwm74kcizrbqsibgkgs2dszwfazh";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
buildFlagsArray = ''
|
buildFlagsArray = ''
|
||||||
-ldflags=
|
-ldflags=
|
||||||
-X github.com/xetys/hetzner-kube/cmd.version=${version}
|
-X github.com/xetys/hetzner-kube/cmd.version=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A CLI tool for provisioning Kubernetes clusters on Hetzner Cloud";
|
description = "A CLI tool for provisioning Kubernetes clusters on Hetzner Cloud";
|
||||||
homepage = "https://github.com/xetys/hetzner-kube";
|
homepage = "https://github.com/xetys/hetzner-kube";
|
||||||
license = lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with lib.maintainers; [ eliasp ];
|
maintainers = with maintainers; [ eliasp ];
|
||||||
platforms = lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -17838,7 +17838,9 @@ in
|
|||||||
|
|
||||||
helvetica-neue-lt-std = callPackage ../data/fonts/helvetica-neue-lt-std { };
|
helvetica-neue-lt-std = callPackage ../data/fonts/helvetica-neue-lt-std { };
|
||||||
|
|
||||||
hetzner-kube = callPackage ../applications/networking/cluster/hetzner-kube { };
|
hetzner-kube = callPackage ../applications/networking/cluster/hetzner-kube {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
hicolor-icon-theme = callPackage ../data/icons/hicolor-icon-theme { };
|
hicolor-icon-theme = callPackage ../data/icons/hicolor-icon-theme { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user