tflint: fix build on darwin
This commit is contained in:
parent
e55240ee9a
commit
074703a553
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "tflint";
|
pname = "tflint";
|
||||||
@ -13,9 +13,11 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "1jbnsqa0ga372lhbgfnqvx8pdzrm0b2phzzwll4sgd0k1hzv2aqv";
|
modSha256 = "1jbnsqa0ga372lhbgfnqvx8pdzrm0b2phzzwll4sgd0k1hzv2aqv";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Terraform linter focused on possible errors, best practices, and so on";
|
description = "Terraform linter focused on possible errors, best practices, and so on";
|
||||||
homepage = "https://github.com/terraform-linters/tflint";
|
homepage = "https://github.com/terraform-linters/tflint";
|
||||||
changelog = "https://github.com/terraform-linters/tflint/releases/tag/v${version}";
|
changelog = "https://github.com/terraform-linters/tflint/releases/tag/v${version}";
|
||||||
|
@ -10962,7 +10962,9 @@ in
|
|||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
tflint = callPackage ../development/tools/analysis/tflint { };
|
tflint = callPackage ../development/tools/analysis/tflint {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
tfsec = callPackage ../development/tools/analysis/tfsec { };
|
tfsec = callPackage ../development/tools/analysis/tfsec { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user