lol

helix: install completion

zowoq 2905eb53 268569b6

+3 -2
+3 -2
pkgs/applications/editors/helix/default.nix
··· 1 - { fetchzip, lib, rustPlatform, makeWrapper }: 1 + { fetchzip, lib, rustPlatform, installShellFiles, makeWrapper }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "helix"; ··· 14 14 15 15 cargoSha256 = "sha256-idItRkymr+cxk3zv2mPBR/frCGvzEUdSAhY7gghfR3M="; 16 16 17 - nativeBuildInputs = [ makeWrapper ]; 17 + nativeBuildInputs = [ installShellFiles makeWrapper ]; 18 18 19 19 postInstall = '' 20 20 # not needed at runtime ··· 22 22 23 23 mkdir -p $out/lib 24 24 cp -r runtime $out/lib 25 + installShellCompletion contrib/completion/hx.{bash,fish,zsh} 25 26 ''; 26 27 postFixup = '' 27 28 wrapProgram $out/bin/hx --set HELIX_RUNTIME $out/lib/runtime