Merge pull request #194659 from kira-bruneau/toxiproxy-darwin

toxiproxy: fix darwin build
This commit is contained in:
Kira Bruneau 2022-10-14 14:37:49 -04:00 committed by GitHub
commit 7d682ef84f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,9 @@ buildGoModule rec {
ldflags = [ "-s" "-w" "-X github.com/Shopify/toxiproxy/v2.Version=${version}" ]; ldflags = [ "-s" "-w" "-X github.com/Shopify/toxiproxy/v2.Version=${version}" ];
# Fixes tests on Darwin
__darwinAllowLocalNetworking = true;
checkFlags = [ "-short" ]; checkFlags = [ "-short" ];
postInstall = '' postInstall = ''