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 {
|
||||
pname = "terracognita";
|
||||
@ -13,11 +13,13 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0xlhp8pa5g6an10m56g237pixc4h6ay89hkp1ijdz45iyfn9fk91";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
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";
|
||||
homepage = "https://github.com/cycloidio/terracognita";
|
||||
license = licenses.mit;
|
||||
|
@ -10939,7 +10939,9 @@ in
|
||||
|
||||
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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user