diff options
author | Claudio Bley <claudio.bley@gmail.com> | 2022-09-15 10:05:31 +0200 |
---|---|---|
committer | Claudio Bley <claudio.bley@gmail.com> | 2022-09-15 10:07:00 +0200 |
commit | 5c8731f759d416ddd9eba3379b344a626c9b7581 (patch) | |
tree | 1fdc9dfba195db303223e6841e15d2027d189ab2 /pkgs/development/tools | |
parent | a51c808177a8de411a628f2f356b33a37e6e953f (diff) |
circleci-cli: Fix empty shell completion files
When running `circleci` the HOME directory of the user needs to be writable since `circleci` creates an empty `cli.yml` in `$HOME/.circleci/`.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/misc/circleci-cli/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/circleci-cli/default.nix b/pkgs/development/tools/misc/circleci-cli/default.nix index 2c83d23055633..81ad37d93914e 100644 --- a/pkgs/development/tools/misc/circleci-cli/default.nix +++ b/pkgs/development/tools/misc/circleci-cli/default.nix @@ -23,8 +23,8 @@ buildGoModule rec { mv $out/bin/circleci-cli $out/bin/circleci installShellCompletion --cmd circleci \ - --bash <($out/bin/circleci completion bash --skip-update-check) \ - --zsh <($out/bin/circleci completion zsh --skip-update-check) + --bash <(HOME=$TMPDIR $out/bin/circleci completion bash --skip-update-check) \ + --zsh <(HOME=$TMPDIR $out/bin/circleci completion zsh --skip-update-check) ''; meta = with lib; { |