tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
skaffold: disable update check
Nick Novitski
2 years ago
71c35684
06e9be9b
+4
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
skaffold
default.nix
+4
-2
pkgs/development/tools/skaffold/default.nix
reviewed
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, makeWrapper }:
2
2
3
3
buildGoModule rec {
4
4
pname = "skaffold";
···
22
22
"-X ${t}/version.buildDate=unknown"
23
23
];
24
24
25
25
-
nativeBuildInputs = [ installShellFiles ];
25
25
+
nativeBuildInputs = [ installShellFiles makeWrapper ];
26
26
27
27
doInstallCheck = true;
28
28
installCheckPhase = ''
···
30
30
'';
31
31
32
32
postInstall = ''
33
33
+
wrapProgram $out/bin/skaffold --set SKAFFOLD_UPDATE_CHECK false
34
34
+
33
35
installShellCompletion --cmd skaffold \
34
36
--bash <($out/bin/skaffold completion bash) \
35
37
--zsh <($out/bin/skaffold completion zsh)