From c1f05af680f2a1de3abaf1ecc34f1100932b60f7 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Wed, 6 Jul 2022 15:44:34 +0100 Subject: [PATCH] conftest: 0.32.1 -> 0.33.0 --- pkgs/development/tools/conftest/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/conftest/default.nix b/pkgs/development/tools/conftest/default.nix index 0aebf2363f53..15a358b4e627 100644 --- a/pkgs/development/tools/conftest/default.nix +++ b/pkgs/development/tools/conftest/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "conftest"; - version = "0.32.1"; + version = "0.33.0"; src = fetchFromGitHub { owner = "open-policy-agent"; repo = "conftest"; rev = "v${version}"; - sha256 = "sha256-lmz5ALGvTwPiz0PaGYlL3UTd6tYgO5rpUHXFoLKgS7E="; + sha256 = "sha256-0MS2Ra+3RhBLE3qWfoMihc1PvyK4wzsoeFIKPucjlJQ="; }; - vendorSha256 = "sha256-Y0S759iPSU7kboa9GxC56QR3caOG9gEmEG44B1Lp3w4="; + vendorSha256 = "sha256-oYAU2YuIAxwy/uOkOEgCKazSJlttKdHV+KUYV0WXOn8="; ldflags = [ "-s" @@ -21,7 +21,7 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; preCheck = '' - export HOME="$TMPDIR" + export HOME="$(mktemp -d)" ''; postInstall = '' @@ -33,7 +33,7 @@ buildGoModule rec { doInstallCheck = true; installCheckPhase = '' - export HOME="$TMPDIR" + export HOME="$(mktemp -d)" $out/bin/conftest --version | grep ${version} > /dev/null '';