anchor.diff:  { buildGoModule, fetchFromGitHub, lib }:
   
   let
  -  generic = { subPackages, pname, postInstall ? "" }:
  +  generic = { subPackages, pname, postInstall ? "", mainProgram }:
       buildGoModule rec {
         inherit pname;
         version = "6.4.1";
  
positive.code: 
        inherit subPackages postInstall;
  
    vendorSha256 = "sha256-fStGEKAR9fzA6Uom6r59jFGTBUfTTj0TzytoJWuicbU=";
  
    doCheck = false;
  
        ldflags = let
          versionPkg = "github.com/sensu/sensu-go/version";
  
negative.code:       ) > ''${!outputBin}/share/zsh/site-functions/_sensuctl
  
      '';
      mainProgram = "sensuctl";
    };
  
    sensu-go-backend = generic {
      pname = "sensu-go-backend";
      subPackages = [ "cmd/sensu-backend" ];
      mainProgram = "sensu-backend";
    };
  
    sensu-go-agent = generic {
      pname = "sensu-go-agent";
      subPackages = [ "cmd/sensu-agent" ];
      mainProgram = "sensu-agent";
    };
  }
  