on master help sign in
flake: remove hack to fix helix version (#762)
ae4d37dRaphael Megzari
flake.nix+1−16
@@ -30,22 +30,7 @@
30 };
30 };
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: {
34− src =
35− let
36− pkgs = common.pkgs;
37− helix = pkgs.fetchgit {
38− url = "https://github.com/helix-editor/helix.git";
39− rev = "987d8e6dd66d65c2503cc81a3b9ea8787435839a";
40− fetchSubmodules = true;
41− sha256 = "sha256-GRJ0zMJva9upUatc89AeKYuLq73nxcxDPKDSgEcPASE=";
42− };
43− in
44− pkgs.runCommand prev.src.name { } ''
45− mkdir -p $out
46− ln -s ${prev.src}/* $out
47− ln -sf ${helix}/helix-syntax/languages $out
48− '';
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";
51 };
36 };