remove helix wrapper for fix upstream update

This commit is contained in:
ulic-youthlic 2025-03-07 00:26:56 +08:00
parent c48cd6662a
commit ade7b62617
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

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