anchor.diff: -{ stdenv, fetchFromGitHub, tzdata, iana-etc, go_bootstrap, runCommand, writeScriptBin
  +{ stdenv, fetchurl, tzdata, iana-etc, go_bootstrap, runCommand, writeScriptBin
   , perl, which, pkgconfig, patch, procps, pcre, cacert, llvm, Security, Foundation
   , mailcap, runtimeShell
   , buildPackages, targetPackages }:
  
positive.code: 
  stdenv.mkDerivation rec {
    name = "go-${version}";
    version = "1.11.5";
  
    src = fetchFromGitHub {
      owner = "golang";
      repo = "go";
      rev = "go${version}";
      sha256 = "0d45057rc0bngq0nja847cagxji42qmlywr68f0dkg51im8nyr9y";
    };
  
    # perl is used for testing go vet
  
negative.code: 
    patches = [
      ./remove-tools-1.11.patch
      ./ssl-cert-file-1.12.1.patch
      ./remove-test-pie.patch
      ./creds-test.patch
      ./go-1.9-skip-flaky-19608.patch
  