open-policy-agent: fix darwin build issues

main
06kellyjac 2 years ago
parent 40caba20b3
commit a76ef49458
  1. 4
      pkgs/development/tools/open-policy-agent/default.nix

@ -43,8 +43,8 @@ buildGoModule rec {
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 ''
# resolve "too many open files" errors during the tests on darwin # remove tests that have "too many open files"/"no space left on device" issues on darwin in hydra
ulimit -n 1024 rm server/server_test.go
''; '';
postInstall = '' postInstall = ''

Loading…
Cancel
Save