anchor.diff:      "-X github.com/cilium/cilium-cli/internal/cli/cmd.Version=${version}"
     ];
   
  -
     # Required to workaround install check error:
     # 2022/06/25 10:36:22 Unable to start gops: mkdir /homeless-shelter: permission denied
     HOME = "$TMPDIR";
  
positive.code: { lib, buildGoModule, fetchFromGitHub }:
  
  buildGoModule rec {
    pname = "cilium-cli";
  
negative.code:   doInstallCheck = true;
    installCheckPhase = ''
      $out/bin/cilium version | grep ${version} > /dev/null
    '';
  
    nativeBuildInputs = [ installShellFiles ];
    postInstall = ''
      installShellCompletion --cmd cilium \
        --bash <($out/bin/cilium completion bash) \
        --fish <($out/bin/cilium completion fish) \
        --zsh <($out/bin/cilium completion zsh)
    '';
  
    meta = with lib; {
  