anchor.diff:    '';
   
     buildPhase = ''
  +    cd go/src/${goPackagePath}
       # Openshift build require this variables to be set
       # unless there is a .git folder which is not the case with fetchFromGitHub
       echo "OS_GIT_VERSION=v${version}" >> os-version-defs
  
positive.code:     repo = "origin";
      rev = "v${version}";
      sha256 = "06q4v2a1mm6c659ab0rzkqz6b66vx4avqfg0s9xckwhq420lzgka";
  };
  
    # go > 1.10
    # [FATAL] [14:44:02+0000] Please install Go version go or use PERMISSIVE_GO=y to bypass this check.
    buildInputs = [ removeReferencesTo makeWrapper which go rsync go-bindata kerberos clang ];
  
    outputs = [ "out" ];
  
    patchPhase = ''
      patchShebangs ./hack
  
negative.code:   '';
  
    installPhase = ''
      mkdir -p $bin/bin
      cp -a "_output/local/bin/$(go env GOOS)/$(go env GOARCH)/"* "$bin/bin/"
      install -D -t "$bin/etc/bash_completion.d" contrib/completions/bash/*
      install -D -t "$bin/share/zsh/site-functions" contrib/completions/zsh/*
    '';
  
    meta = with stdenv.lib; {
  