fix helix donnot have fish completions
This commit is contained in:
parent
b8818a8c8b
commit
ee5fa789d8
1 changed files with 42 additions and 37 deletions
|
|
@ -4,40 +4,45 @@
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
pkgs.runCommand "helix-wrapped"
|
let
|
||||||
{
|
helix = inputs.helix.packages."${pkgs.system}".default;
|
||||||
buildInputs = [ pkgs.makeWrapper ];
|
runtimeInputs = (
|
||||||
}
|
with pkgs;
|
||||||
''
|
[
|
||||||
mkdir -p $out/bin
|
rustfmt
|
||||||
makeWrapper "${lib.getExe inputs.helix.packages."${pkgs.system}".default}" $out/bin/hx \
|
clang-tools
|
||||||
--suffix PATH : ${
|
libxml2
|
||||||
lib.makeBinPath (
|
typstyle
|
||||||
with pkgs;
|
pyright
|
||||||
[
|
ruff
|
||||||
rustfmt
|
gotools
|
||||||
clang-tools
|
yaml-language-server
|
||||||
libxml2
|
taplo
|
||||||
typstyle
|
markdown-oxide
|
||||||
pyright
|
nixd
|
||||||
ruff
|
deno
|
||||||
gotools
|
nixfmt-rfc-style
|
||||||
yaml-language-server
|
vscode-langservers-extracted
|
||||||
taplo
|
fish-lsp
|
||||||
markdown-oxide
|
gopls
|
||||||
nixd
|
golangci-lint-langserver
|
||||||
deno
|
tinymist
|
||||||
nixfmt-rfc-style
|
delve
|
||||||
vscode-langservers-extracted
|
lldb
|
||||||
fish-lsp
|
rust-analyzer
|
||||||
gopls
|
nil
|
||||||
golangci-lint-langserver
|
]
|
||||||
tinymist
|
);
|
||||||
delve
|
in
|
||||||
lldb
|
pkgs.symlinkJoin {
|
||||||
rust-analyzer
|
name = "helix-wrapped";
|
||||||
nil
|
paths = [ helix ];
|
||||||
]
|
inherit (helix) meta;
|
||||||
)
|
buildInputs = [
|
||||||
}
|
pkgs.makeWrapper
|
||||||
''
|
];
|
||||||
|
postBuild = ''
|
||||||
|
wrapProgram $out/bin/hx \
|
||||||
|
--suffix PATH : ${lib.makeBinPath runtimeInputs}
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue