From 3b5a3dfd589689bd2c50aa6fcd80903ee1f0c434 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Thu, 17 Mar 2022 13:20:33 +0000 Subject: [PATCH] infracost: 0.9.18 -> 0.9.20 --- pkgs/tools/misc/infracost/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/misc/infracost/default.nix b/pkgs/tools/misc/infracost/default.nix index 293ee08a2752..920d4a19e793 100644 --- a/pkgs/tools/misc/infracost/default.nix +++ b/pkgs/tools/misc/infracost/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "infracost"; - version = "0.9.18"; + version = "0.9.20"; src = fetchFromGitHub { owner = "infracost"; rev = "v${version}"; repo = "infracost"; - sha256 = "sha256-ukFY6Iy7RaUjECbMCMdOkulMdzUlsoBnyRiuzldXVc8="; + sha256 = "sha256-ujoKnf6f9rrPIxvWlzVnC6q+2BxzhpXgb66clgAuC+8="; }; - vendorSha256 = "sha256-D4tXBXtD3FlWvp4GPIuo/2p3MKg81DVPT5pKVOGe/5c="; + vendorSha256 = "sha256-TfO3+pGxR9dPzigkx89a/Ak+tKiBa6Z0a6U4kIdRsSQ="; ldflags = [ "-s" "-w" "-X github.com/infracost/infracost/internal/version.Version=v${version}" ]; @@ -23,9 +23,9 @@ buildGoModule rec { checkPhase = '' runHook preCheck - # Remove tests that require networking - rm cmd/infracost/{breakdown_test,diff_test,run_test}.go - + # remove tests that require networking + rm cmd/infracost/{breakdown,diff,hcl,run}_test.go + # checkFlags aren't correctly passed through via buildGoModule go test $checkFlags ''${ldflags:+-ldflags="$ldflags"} -v -p $NIX_BUILD_CORES ./... runHook postCheck