anchor.diff:      homepage = "https://buildkite.com/docs/agent";
       license = licenses.mit;
       maintainers = with maintainers; [ pawelpacana zimbatm rvl ];
  -    platforms = platforms.unix;
  +    platforms = with platforms; unix ++ darwin;
     };
   }
  
positive.code: { fetchFromGitHub, stdenv, buildGoPackage,
    makeWrapper, coreutils, git, openssh, bash, gnused, gnugrep }:
  buildGoPackage rec {
    name = "buildkite-agent-${version}";
    version = "3.17.0";
  
    goPackagePath = "github.com/buildkite/agent";
  
  
negative.code:     owner = "buildkite";
      repo = "agent";
      rev = "v${version}";
      sha256 = "VxAGi2NpXpc3U+GNIvGJSkdHGODrX2s8oY+dQ8QXIHQ=";
    };
  
    vendorSha256 = "X1K6uKiMFXTDT1PcedGQ8HLGox8ePP7Cz0Ihf4m9ts8=";
  
    postPatch = ''
      substituteInPlace bootstrap/shell/shell.go --replace /bin/bash ${bash}/bin/bash
    '';
  
    nativeBuildInputs = [ makeWrapper ];
  
    doCheck = false;
  
    postInstall = ''
      # Fix binary name
  