mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
hcloud: fix build on darwin
This commit is contained in:
parent
7e4f82ce7f
commit
121bc52a52
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "hcloud";
|
||||
@ -15,6 +15,8 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "1zy41hi2qzrdmih3pkpng8im576lhkr64zm66w73p7jyvy0kf9sx";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=" "-w -X github.com/hetznercloud/cli/cli.Version=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
|
@ -10409,7 +10409,9 @@ in
|
||||
|
||||
halfempty = callPackage ../development/tools/halfempty {};
|
||||
|
||||
hcloud = callPackage ../development/tools/hcloud { };
|
||||
hcloud = callPackage ../development/tools/hcloud {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
help2man = callPackage ../development/tools/misc/help2man { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user