anchor.diff:      "-w"
       "-X github.com/GoogleCloudPlatform/docker-credential-gcr/config.Version=${version}"
     ];
  -
  -  checkFlags = [ "-short" ];
   
     passthru.tests.version = testers.testVersion {
       package = docker-credential-gcr;
  
positive.code: { lib, buildGoModule, fetchFromGitHub, testers, docker-credential-gcr }:
  
  buildGoModule rec {
    pname = "docker-credential-gcr";
  
negative.code:     sha256 = "sha256-gb9c8qTHQWUOlaXAKfpwm0Pwa/N4iu48jWIwPYXD00k=";
    };
  
    patches = [
      (fetchpatch {
        name = "fix-TestGet_GCRCredentials.patch";
        url = "https://github.com/GoogleCloudPlatform/docker-credential-gcr/commit/a0c080e58bbfdeb0aa24e66551c4e8b0359bf178.patch";
        sha256 = "sha256-aXp/1kNaxqQDPszC7pO+qP7ZBWHjpVljUHiKFnnDWuM=";
      })
    ];
  
    postPatch = ''
      rm -rf ./test
    '';
  
    vendorSha256 = "sha256-e7XNTizZYp/tS7KRvB9KxY3Yurphnm6Ehz4dHZNReK8=";
  
    CGO_ENABLED = 0;
  