nodePackages.triton: add completion

This commit is contained in:
teutat3s 2022-01-20 18:18:28 +01:00
parent b4797eaffc
commit c0134288e7
Signed by untrusted user: teutat3s
GPG key ID: 18DAE600A6BBE705

View file

@ -459,6 +459,13 @@ let
meta = super.thelounge.meta // { maintainers = with lib.maintainers; [ winter ]; };
};
triton = super.triton.override {
nativeBuildInputs = [ pkgs.installShellFiles ];
postInstall = ''
installShellCompletion --cmd triton --bash <($out/bin/triton completion)
'';
};
yaml-language-server = super.yaml-language-server.override {
nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = ''