Merge pull request #285835 from sysedwinistrator/k9s-fix-darwin-completion
k9s: fix broken completion scripts on aarch64-darwin
This commit is contained in:
commit
932be94aec
@ -42,6 +42,11 @@ buildGoModule rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
# k9s requires a writeable log directory
|
||||||
|
# Otherwise an error message is printed
|
||||||
|
# into the completion scripts
|
||||||
|
export K9S_LOGS_DIR=$(mktemp -d)
|
||||||
|
|
||||||
installShellCompletion --cmd k9s \
|
installShellCompletion --cmd k9s \
|
||||||
--bash <($out/bin/k9s completion bash) \
|
--bash <($out/bin/k9s completion bash) \
|
||||||
--fish <($out/bin/k9s completion fish) \
|
--fish <($out/bin/k9s completion fish) \
|
||||||
|
Loading…
Reference in New Issue
Block a user