tflint: fix build on darwin

wip/yesman
Mario Rodas 4 years ago
parent e55240ee9a
commit 074703a553
  1. 6
      pkgs/development/tools/analysis/tflint/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "tflint";
@ -13,9 +13,11 @@ buildGoModule rec {
modSha256 = "1jbnsqa0ga372lhbgfnqvx8pdzrm0b2phzzwll4sgd0k1hzv2aqv";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "." ];
meta = with lib; {
meta = with stdenv.lib; {
description = "Terraform linter focused on possible errors, best practices, and so on";
homepage = "https://github.com/terraform-linters/tflint";
changelog = "https://github.com/terraform-linters/tflint/releases/tag/v${version}";

@ -10962,7 +10962,9 @@ in
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 { };

Loading…
Cancel
Save