kubernetes: 1.22.1 -> 1.22.2
This commit is contained in:
parent
12e9664020
commit
e98e088d4a
1 changed files with 4 additions and 2 deletions
|
@ -21,13 +21,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "kubernetes";
|
pname = "kubernetes";
|
||||||
version = "1.22.1";
|
version = "1.22.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kubernetes";
|
owner = "kubernetes";
|
||||||
repo = "kubernetes";
|
repo = "kubernetes";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-coiDKczX5kWw/5A9+p0atPbn2nR0wBBdfXKTw6FYywo=";
|
sha256 = "sha256-O+FY9wJ0fztO7i5qJfw+cfhfBgaMWKX7IBBXJV4uuCk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ removeReferencesTo makeWrapper which go rsync installShellFiles ];
|
nativeBuildInputs = [ removeReferencesTo makeWrapper which go rsync installShellFiles ];
|
||||||
|
@ -60,6 +60,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
for p in $WHAT; do
|
for p in $WHAT; do
|
||||||
install -D _output/local/go/bin/''${p##*/} -t $out/bin
|
install -D _output/local/go/bin/''${p##*/} -t $out/bin
|
||||||
done
|
done
|
||||||
|
@ -83,6 +84,7 @@ stdenv.mkDerivation rec {
|
||||||
--bash <($out/bin/$tool completion bash) \
|
--bash <($out/bin/$tool completion bash) \
|
||||||
--zsh <($out/bin/$tool completion zsh)
|
--zsh <($out/bin/$tool completion zsh)
|
||||||
done
|
done
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
|
|
Loading…
Reference in a new issue