summary refs log tree commit diff
path: root/pkgs/development/tools/continuous-integration/buildkite-agent/3.x.nix
blob: f4dd4de93b2d45c8750191ebba3e61a7c81a4cb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ bash, callPackage, fetchFromGitHub, ... } @ args:

callPackage ./generic.nix (args // rec {
  src = fetchFromGitHub {
    owner = "buildkite";
    repo = "agent";
    rev = "v${version}";
    sha256 = "0a7x919kxnpdn0pnhc5ilx1z6ninx8zgjvsd0jcg4qwh0qqp5ppr";
  };
  version = "3.17.0";
  hasBootstrapScript = false;
  postPatch = ''
    substituteInPlace bootstrap/shell/shell.go --replace /bin/bash ${bash}/bin/bash
  '';
})