diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/default.nix b/default.nix index e23c39e..bc7a9f4 100644 --- a/default.nix +++ b/default.nix @@ -13,16 +13,16 @@ let postInstall = '' exe=${oldAttrs.pname} - installShellCompletion --cmd $exe \ - --bash <($out/bin/$exe --bash-completion-script $exe) \ - --fish <($out/bin/$exe --fish-completion-script $exe) \ - --zsh <($out/bin/$exe --zsh-completion-script $exe) - wrapProgram $out/bin/$exe --prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.git pkgs.mdcat pkgs.tree-grepper ]} + + installShellCompletion --cmd $exe \ + --bash <($out/bin/$exe --bash-completion-script $out/bin/.$exe-wrapped) \ + --fish <($out/bin/$exe --fish-completion-script $out/bin/.$exe-wrapped) \ + --zsh <($out/bin/$exe --zsh-completion-script $out/bin/.$exe-wrapped) ''; }); }; |