on master help sign in
flake: remove hack to fix helix version (#762)
commitae4d37de28abab23651aa6a239e6d9d90674f039 authorRaphael Megzari <raphael@megzari.com> dateSat 18 Sep 2021, 09:59 (5 years ago) parent70a20b7
1 file changed+1−16
flake.nix+1−16
flake.nix+1−16
@@ -30,22 +30,7 @@
3030 };
3131 # link languages and theme toml files since helix-view expects them
3232 helix-view = _: { preConfigure = "ln -s ${common.root}/{languages.toml,theme.toml} .."; };
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− '';
33+ helix-syntax = _prev: {
4934 preConfigure = "mkdir -p ../runtime/grammars";
5035 postInstall = "cp -r ../runtime $out/runtime";
5136 };