Merge pull request #172548 from 06kellyjac/opa_zhf

open-policy-agent: fix darwin build issues
This commit is contained in:
Rick van Schijndel 2022-05-11 21:37:35 +02:00 committed by GitHub
commit 573c4df007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,8 +43,8 @@ buildGoModule rec {
go list ./... | grep -v -e e2e ${lib.optionalString stdenv.isDarwin "-e wasm"}
}
'' + lib.optionalString stdenv.isDarwin ''
# resolve "too many open files" errors during the tests on darwin
ulimit -n 1024
# remove tests that have "too many open files"/"no space left on device" issues on darwin in hydra
rm server/server_test.go
'';
postInstall = ''