diff options
author | Patrizio Bekerle <patrizio@bekerle.com> | 2023-06-25 18:28:04 +0200 |
---|---|---|
committer | Janik H <janik@aq0.de> | 2023-06-25 21:03:20 +0200 |
commit | 3e90c045cadaddecb01bcb9b1db3b8375a1b8cab (patch) | |
tree | 3952a602a550bc5f50e6c69b439dd9be9e406077 /pkgs/development/tools/qc | |
parent | 7e55510ba2f90f121fa136a0683f5e1d8101ff3c (diff) |
qc: 0.4.0 -> 0.5.0
Diffstat (limited to 'pkgs/development/tools/qc')
-rw-r--r-- | pkgs/development/tools/qc/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/tools/qc/default.nix b/pkgs/development/tools/qc/default.nix index 14cdaf3ee3552..9be03518e5b61 100644 --- a/pkgs/development/tools/qc/default.nix +++ b/pkgs/development/tools/qc/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "qc"; - version = "0.4.0"; + version = "0.5.0"; src = fetchFromGitHub { owner = "qownnotes"; repo = "qc"; rev = "v${version}"; - hash = "sha256-6dH7pmsd7kUgwHplvCfNqoq/ucDY/UZnyVxC3VvV+fQ="; + hash = "sha256-lNS2wrjG70gi6mpIYMvuusuAJL3LkAVh8za+KnBTioc="; }; vendorHash = "sha256-7t5rQliLm6pMUHhtev/kNrQ7AOvmA/rR93SwNQhov6o="; @@ -26,8 +26,11 @@ buildGoModule rec { ]; postInstall = '' + export HOME=$(mktemp -d) installShellCompletion --cmd qc \ - --zsh ./misc/completions/zsh/_qc + --bash <($out/bin/qc completion bash) \ + --fish <($out/bin/qc completion fish) \ + --zsh <($out/bin/qc completion zsh) ''; meta = with lib; { |