remove helix wrapper for fix upstream update

This commit is contained in:
ulic-youthlic 2025-03-07 00:26:56 +08:00
parent 1c01deaa46
commit 5727cfdae3

View file

@ -5,17 +5,17 @@
... ...
}@args: }@args:
let let
inherit (inputs.helix.packages."${pkgs.system}") helix helix-unwrapped; inherit (inputs.helix.packages."${pkgs.system}") helix;
helix-core = helix-unwrapped.overrideAttrs { # helix-core = helix-unwrapped.overrideAttrs {
HELIX_DEFAULT_RUNTIME = "${grammarRuntime}"; # HELIX_DEFAULT_RUNTIME = "${grammarRuntime}";
}; # };
helix-wrapped = (helix.override grammarConfig).passthru.wrapper helix-core; # helix-wrapped = (helix.override grammarConfig).passthru.wrapper helix-core;
grammars = import ./grammars args; # grammars = import ./grammars args;
grammarOverlays = grammars.overlays; # grammarOverlays = grammars.overlays;
grammarRuntime = grammars.runtime; # grammarRuntime = grammars.runtime;
grammarConfig = { # grammarConfig = {
inherit grammarOverlays; # inherit grammarOverlays;
}; # };
runtimeInputs = ( runtimeInputs = (
with pkgs; with pkgs;
[ [
@ -53,10 +53,11 @@ let
); );
in in
pkgs.symlinkJoin { pkgs.symlinkJoin {
pname = "helix-wrapped"; # pname = "helix-wrapped";
version = helix-wrapped.version; # version = helix.version;
paths = [ helix-wrapped ]; name = "helix-wrapped";
inherit (helix-wrapped) meta; paths = [ helix ];
inherit (helix) meta;
buildInputs = [ buildInputs = [
pkgs.makeWrapper pkgs.makeWrapper
]; ];