diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-02-07 14:59:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 14:59:05 +0100 |
commit | 932be94aecfe560032c911d20d787d83bd306800 (patch) | |
tree | a53089bd5b127b7ea067c2b56642f6784f51327c /pkgs/applications/networking/cluster/k9s/default.nix | |
parent | 0e1a6d89e58da4ec5cef6b5c04f15c63f232297c (diff) | |
parent | b0e8cc5276d3a4dce4676e5144b7750db02cd4d5 (diff) |
Merge pull request #285835 from sysedwinistrator/k9s-fix-darwin-completion
k9s: fix broken completion scripts on aarch64-darwin
Diffstat (limited to 'pkgs/applications/networking/cluster/k9s/default.nix')
-rw-r--r-- | pkgs/applications/networking/cluster/k9s/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/k9s/default.nix b/pkgs/applications/networking/cluster/k9s/default.nix index 951d52dd4e87..c40a5c3d5613 100644 --- a/pkgs/applications/networking/cluster/k9s/default.nix +++ b/pkgs/applications/networking/cluster/k9s/default.nix @@ -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) \ |