forked from mirrors/nixpkgs
16 lines
425 B
Nix
16 lines
425 B
Nix
{ 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
|
|
'';
|
|
})
|