helix: switch to my own fork again

This commit is contained in:
Bloxx12 2025-07-19 00:36:45 +02:00
commit 683509d009
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw

View file

@ -1,12 +1,8 @@
{ {
symlinkJoin,
makeWrapper,
callPackage,
fetchzip,
rustPlatform,
alejandra, alejandra,
basedpyright, basedpyright,
bash-language-server, bash-language-server,
callPackage,
clang-tools, clang-tools,
clippy, clippy,
cmake-format, cmake-format,
@ -14,57 +10,55 @@
deadnix, deadnix,
deno, deno,
dprint, dprint,
fetchzip,
formats, formats,
gdb, gdb,
golangci-lint-langserver, golangci-lint-langserver,
gopls, gopls,
helix,
kdePackages, kdePackages,
kdlfmt, kdlfmt,
lazygit, lazygit,
lib, lib,
lldb_19, lldb_19,
makeWrapper,
nixd, nixd,
ruff, ruff,
rust-analyzer, rust-analyzer,
rustPlatform,
rustfmt, rustfmt,
shellcheck, shellcheck,
shfmt, shfmt,
simple-completion-language-server, simple-completion-language-server,
superhtml, superhtml,
symlinkJoin,
taplo, taplo,
tinymist, tinymist,
typescript-language-server, typescript-language-server,
vscode-langservers-extracted, vscode-langservers-extracted,
zls, zls,
helix,
... ...
}: let }: let
inherit (lib.meta) getExe; inherit (lib.meta) getExe;
custom-helix = custom-helix =
(helix.override {inherit rustPlatform;}).overrideAttrs helix.overrideAttrs
(finalAttrs: previousAttrs: { (finalAttrs: previousAttrs: {
version = "25.07.1"; version = "25.07.2";
src = fetchzip { src = fetchzip {
url = "https://github.com/bloxx12/helix/releases/download/${finalAttrs.version}/helix-${finalAttrs.version}-source.tar.xz"; url = "https://github.com/bloxx12/helix/releases/download/${finalAttrs.version}/helix-${finalAttrs.version}-source.tar.xz";
hash = "sha256-OLCJPleRHhQbHOm8EnMWDBV5qG4PKGCUhr4y8mSkvpg="; hash = "sha256-ZNsQwFfPXe6oewajx1tl68W60kVo7q2SuvTgy/o1HKk=";
stripRoot = false; stripRoot = false;
}; };
RUSTFLAGS = "-Ctarget-cpu=native";
doInstallCheck = false; doInstallCheck = false;
cargoDeps = rustPlatform.fetchCargoVendor { cargoDeps = rustPlatform.fetchCargoVendor {
inherit (custom-helix) src; inherit (custom-helix) src;
hash = "sha256-eVZVPyIk+kBq5hh+bzTveng6mb+6XAnCp0OAI1c+ObI="; hash = "sha256-3poZSvIrkx8lguxxDeNfngW6+4hH8TV/LHcZx5W5aXg=";
}; };
}); });
new-deadnix = deadnix.overrideAttrs (finalAttrs: previousAttrs: {
});
toml = formats.toml {}; toml = formats.toml {};
helix-languages = callPackage ./languages.nix {inherit lib;}; helix-languages = callPackage ./languages.nix {inherit lib;};