terracognita: fix build on darwin
This commit is contained in:
parent
8b8dff4cc9
commit
e55240ee9a
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "terracognita";
|
pname = "terracognita";
|
||||||
@ -13,11 +13,13 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "0xlhp8pa5g6an10m56g237pixc4h6ay89hkp1ijdz45iyfn9fk91";
|
modSha256 = "0xlhp8pa5g6an10m56g237pixc4h6ay89hkp1ijdz45iyfn9fk91";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X github.com/cycloidio/terracognita/cmd.Version=${version}" ];
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/cycloidio/terracognita/cmd.Version=${version}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Reads from existing Cloud Providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration";
|
description = "Reads from existing Cloud Providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration";
|
||||||
homepage = "https://github.com/cycloidio/terracognita";
|
homepage = "https://github.com/cycloidio/terracognita";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
@ -10939,7 +10939,9 @@ in
|
|||||||
|
|
||||||
teensy-loader-cli = callPackage ../development/tools/misc/teensy-loader-cli { };
|
teensy-loader-cli = callPackage ../development/tools/misc/teensy-loader-cli { };
|
||||||
|
|
||||||
terracognita = callPackage ../development/tools/misc/terracognita { };
|
terracognita = callPackage ../development/tools/misc/terracognita {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
terraform-lsp = callPackage ../development/tools/misc/terraform-lsp { };
|
terraform-lsp = callPackage ../development/tools/misc/terraform-lsp { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user