From 7dc0cab79452c0650722e678414da61735e2f651 Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Mon, 30 Oct 2017 19:45:17 +0100 Subject: [PATCH] Fix go bootstrap build on sandbox --- pkgs/development/compilers/go/1.4.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/compilers/go/1.4.nix b/pkgs/development/compilers/go/1.4.nix index 2a1944debd91..b8c283fef07e 100644 --- a/pkgs/development/compilers/go/1.4.nix +++ b/pkgs/development/compilers/go/1.4.nix @@ -23,6 +23,9 @@ stdenv.mkDerivation rec { hardeningDisable = [ "all" ]; + # The tests try to do stuff with 127.0.0.1 and localhost + __darwinAllowLocalNetworking = true; + # I'm not sure what go wants from its 'src', but the go installation manual # describes an installation keeping the src. preUnpack = ''