From 358457208c35abb322fd622dc225ac56f846f7d3 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Thu, 15 Jul 2021 12:55:13 +0100 Subject: [PATCH] infracost: 0.9.3 -> 0.9.4 --- pkgs/tools/misc/infracost/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pkgs/tools/misc/infracost/default.nix b/pkgs/tools/misc/infracost/default.nix index c912eb3322b..3d91dd6d9ab 100644 --- a/pkgs/tools/misc/infracost/default.nix +++ b/pkgs/tools/misc/infracost/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "infracost"; - version = "0.9.3"; + version = "0.9.4"; src = fetchFromGitHub { owner = "infracost"; rev = "v${version}"; repo = "infracost"; - sha256 = "sha256-3AH/VUKIno/jObep5GNfIpyOW5TcfZ5UZyornJWTGOw="; + sha256 = "sha256-OQwMO9bhPK+Wjob8rAFYJQRpAYf1bPdRi2BjETjpSpE="; }; vendorSha256 = "sha256-zMEtVPyzwW4SrbpydDFDqgHEC0/khkrSxlEnQ5I0he8="; @@ -25,12 +25,7 @@ buildGoModule rec { ''; postInstall = '' - # panic if .config directory can't be accessed - # https://github.com/infracost/infracost/pull/862 - export HOME="$TMPDIR" - mkdir -p "$HOME/.config/infracost" export INFRACOST_SKIP_UPDATE_CHECK=true - installShellCompletion --cmd infracost \ --bash <($out/bin/infracost completion --shell bash) \ --fish <($out/bin/infracost completion --shell fish) \ @@ -41,10 +36,7 @@ buildGoModule rec { installCheckPhase = '' runHook preInstallCheck - export HOME="$TMPDIR" - mkdir -p "$HOME/.config/infracost" export INFRACOST_SKIP_UPDATE_CHECK=true - $out/bin/infracost --help $out/bin/infracost --version | grep "v${version}" @@ -60,7 +52,7 @@ buildGoModule rec { This helps developers, DevOps et al. quickly see the cost breakdown and compare different deployment options upfront. ''; - license = [ licenses.asl20 ]; + license = licenses.asl20; maintainers = with maintainers; [ davegallant jk ]; }; }