42 lines
777 B
Nix
42 lines
777 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}:
|
|
pkgs.runCommand "helix-wrapped"
|
|
{
|
|
buildInputs = [ pkgs.makeWrapper ];
|
|
}
|
|
''
|
|
mkdir -p $out/bin
|
|
makeWrapper "${lib.getExe inputs.helix.packages."${pkgs.system}".default}" $out/bin/hx \
|
|
--prefix PATH : ${
|
|
lib.makeBinPath (
|
|
with pkgs;
|
|
[
|
|
clang-tools
|
|
libxml2
|
|
typstyle
|
|
pyright
|
|
ruff
|
|
gotools
|
|
yaml-language-server
|
|
taplo
|
|
markdown-oxide
|
|
nixd
|
|
deno
|
|
nixfmt-rfc-style
|
|
vscode-langservers-extracted
|
|
fish-lsp
|
|
gopls
|
|
golangci-lint-langserver
|
|
tinymist
|
|
delve
|
|
lldb
|
|
rust-analyzer
|
|
nil
|
|
]
|
|
)
|
|
}
|
|
''
|