mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
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 ];
|
||||
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 \
|
||||
--bash <($out/bin/k9s completion bash) \
|
||||
--fish <($out/bin/k9s completion fish) \
|
||||
|
Loading…
Reference in New Issue
Block a user