@@ -30,22 +30,7 @@
31 # link languages and theme toml files since helix-view expects them
31 # link languages and theme toml files since helix-view expects them
32 helix-view = _: { preConfigure = "ln -s ${common.root}/{languages.toml,theme.toml} .."; };
32 helix-view = _: { preConfigure = "ln -s ${common.root}/{languages.toml,theme.toml} .."; };
33− helix-syntax = prev: {
33+ helix-syntax = _prev: {
37− helix = pkgs.fetchgit {
38− url = "https://github.com/helix-editor/helix.git";
39− rev = "987d8e6dd66d65c2503cc81a3b9ea8787435839a";
40− fetchSubmodules = true;
41− sha256 = "sha256-GRJ0zMJva9upUatc89AeKYuLq73nxcxDPKDSgEcPASE=";
44− pkgs.runCommand prev.src.name { } ''
46− ln -s ${prev.src}/* $out
47− ln -sf ${helix}/helix-syntax/languages $out
49 preConfigure = "mkdir -p ../runtime/grammars";
34 preConfigure = "mkdir -p ../runtime/grammars";
50 postInstall = "cp -r ../runtime $out/runtime";
35 postInstall = "cp -r ../runtime $out/runtime";