From 212b83433d8fc5fd675cad97e2eb7b6e97154599 Mon Sep 17 00:00:00 2001 From: Benjamin Staffin Date: Fri, 1 Jan 2016 15:31:22 -0800 Subject: [PATCH] go1.5: Fix Darwin build by disabling a broken test (close #12075) TestNohup appears to work on Darwin if the test suite is running attached to a terminal, but not when Nix runs it. --- pkgs/development/compilers/go/1.5.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/go/1.5.nix b/pkgs/development/compilers/go/1.5.nix index 30967ae2c15..32ae3ad0adc 100644 --- a/pkgs/development/compilers/go/1.5.nix +++ b/pkgs/development/compilers/go/1.5.nix @@ -77,6 +77,7 @@ stdenv.mkDerivation rec { sed -i '/TestCgoLookupIP/areturn' src/net/cgo_unix_test.go sed -i '/TestChdirAndGetwd/areturn' src/os/os_test.go sed -i '/TestRead0/areturn' src/os/os_test.go + sed -i '/TestNohup/areturn' src/os/signal/signal_test.go sed -i '/TestSystemRoots/areturn' src/crypto/x509/root_darwin_test.go sed -i '/TestGoInstallRebuildsStalePackagesInOtherGOPATH/areturn' src/cmd/go/go_test.go