Merge pull request #173927 from marsam/update-buildpack
buildpack: 0.24.1 -> 0.26.0
This commit is contained in:
commit
738e692f68
1 changed files with 7 additions and 5 deletions
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "pack";
|
||||
version = "0.24.1";
|
||||
version = "0.26.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "buildpacks";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zwvZ99SLeYQDSzrEy2eYPMyFh9B6LWZT3tY92EOrXnU=";
|
||||
sha256 = "sha256-P6rfYrjk7MWVvNowaIKc0PzCzAyHRK+qw2BDe56CPp8=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-4uMd0KaV5xrxuJ9yqpxbD3YTNaBHsH2d/IRtYRyN5+0=";
|
||||
vendorSha256 = "sha256-ygHE52zYU/Zx/bSHMeTTFZyBvWrIKeuO0bciB4E0dHE=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
@ -20,8 +20,10 @@ buildGoModule rec {
|
|||
ldflags = [ "-s" "-w" "-X github.com/buildpacks/pack.Version=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --bash --name pack.bash $(PACK_HOME=$PWD $out/bin/pack completion --shell bash)
|
||||
installShellCompletion --zsh --name _pack $(PACK_HOME=$PWD $out/bin/pack completion --shell zsh)
|
||||
installShellCompletion --cmd pack \
|
||||
--zsh $(PACK_HOME=$PWD $out/bin/pack completion --shell zsh) \
|
||||
--bash $(PACK_HOME=$PWD $out/bin/pack completion --shell bash) \
|
||||
--fish $(PACK_HOME=$PWD $out/bin/pack completion --shell fish)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue