Merge pull request #202553 from jlesquembre/kubectx
kubectx: show version fix
This commit is contained in:
commit
3794e682f3
@ -19,6 +19,12 @@ buildGoModule rec {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion completion/*
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user