anchor.diff:      sed -i '/TestDialTimeout/areturn' src/net/dial_test.go
       # Disable the hostname test
       sed -i '/TestHostname/areturn' src/os/os_test.go
  -    # ParseInLocation fails the test
  -    sed -i '/TestParseInSydney/areturn' src/time/format_test.go
   
       sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go
     '' + lib.optionalString stdenv.isLinux ''
  
positive.code:     cd go
      patchShebangs ./ # replace /bin/bash
  
      # Disabling the 'os/http/net' tests (they want files not available in
      # chroot builds)
      rm src/net/{multicast_test.go,parse_test.go,port_test.go}
  
negative.code:   patches = [
      ./remove-tools-1.4.patch
      ./creds-test-1.4.patch
    ];
  
    GOOS = if stdenv.isDarwin then "darwin" else "linux";
  