diff options
author | 06kellyjac <dev@j-k.io> | 2022-07-06 15:44:34 +0100 |
---|---|---|
committer | superherointj <5861043+superherointj@users.noreply.github.com> | 2022-07-06 12:22:34 -0300 |
commit | c1f05af680f2a1de3abaf1ecc34f1100932b60f7 (patch) | |
tree | 4115de704a824c0d20158c740e8002c292f002db /pkgs/development/tools/conftest | |
parent | d50fffb079e484a68dcf8d117103016060e1996e (diff) |
conftest: 0.32.1 -> 0.33.0
Diffstat (limited to 'pkgs/development/tools/conftest')
-rw-r--r-- | pkgs/development/tools/conftest/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/tools/conftest/default.nix b/pkgs/development/tools/conftest/default.nix index 0aebf2363f53d..15a358b4e6271 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 ''; |