From c51c61e8c7e638e0dbc1dd5cadc89e3cfc175e93 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Wed, 5 Oct 2022 18:17:32 -0400 Subject: [PATCH] toxiproxy: fix darwin build --- pkgs/development/tools/toxiproxy/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/tools/toxiproxy/default.nix b/pkgs/development/tools/toxiproxy/default.nix index 0ab9da2bf8a1..920afba2a30e 100644 --- a/pkgs/development/tools/toxiproxy/default.nix +++ b/pkgs/development/tools/toxiproxy/default.nix @@ -17,6 +17,9 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X github.com/Shopify/toxiproxy/v2.Version=${version}" ]; + # Fixes tests on Darwin + __darwinAllowLocalNetworking = true; + checkFlags = [ "-short" ]; postInstall = ''