summary refs log tree commit diff
path: root/pkgs/development/tools/continuous-integration/buildkite-agent/3.x.nix
blob: e8266c2efe2cda67de98044f62d30879e438f0a7 (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 = "0sr1rxl92d4wdipl66f1yymx5bmyj1y85v6k22v57rzr6yhyfmsf";
  };
  version = "3.8.4";
  hasBootstrapScript = false;
  postPatch = ''
    substituteInPlace bootstrap/shell/shell.go --replace /bin/bash ${bash}/bin/bash
  '';
})