Merge pull request #212233 from 06kellyjac/opa

open-policy-agent: 0.47.4 -> 0.48.0
This commit is contained in:
Weijia Wang 2023-01-24 16:09:28 +01:00 committed by GitHub
commit b3c86fff5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,15 +11,15 @@ assert enableWasmEval && stdenv.isDarwin -> builtins.throw "building with wasm o
buildGoModule rec { buildGoModule rec {
pname = "open-policy-agent"; pname = "open-policy-agent";
version = "0.47.4"; version = "0.48.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "open-policy-agent"; owner = "open-policy-agent";
repo = "opa"; repo = "opa";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-EHDSil077g/K8XCWQ9Pry/oyh0Bs3ckS/5Co1z/+Yes="; hash = "sha256-//xwk5T477Ae61MqZCrj8VcG23mqrP04/VVuUwtxyio=";
}; };
vendorSha256 = null; vendorHash = null;
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -42,7 +42,7 @@ buildGoModule rec {
getGoDirs() { getGoDirs() {
go list ./... | grep -v -e e2e ${lib.optionalString stdenv.isDarwin "-e wasm"} go list ./... | grep -v -e e2e ${lib.optionalString stdenv.isDarwin "-e wasm"}
} }
'' + lib.optionalString stdenv.isDarwin '' '' + lib.optionalString stdenv.isDarwin ''
# remove tests that have "too many open files"/"no space left on device" issues on darwin in hydra # remove tests that have "too many open files"/"no space left on device" issues on darwin in hydra
rm server/server_test.go rm server/server_test.go
''; '';