aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Megzari2021-09-18 00:59:26 +0000
committerGitHub2021-09-18 00:59:26 +0000
commitae4d37de28abab23651aa6a239e6d9d90674f039 (patch)
treeb41fa002387cd9833d89e3d0faf776c95a30ba96
parent70a20b7cf85a80deab69c753a72ffcb3acbdf0af (diff)
flake: remove hack to fix helix version (#762)
-rw-r--r--flake.nix17
1 files changed, 1 insertions, 16 deletions
diff --git a/flake.nix b/flake.nix
index f3174875..bcc9383e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -30,22 +30,7 @@
};
# link languages and theme toml files since helix-view expects them
helix-view = _: { preConfigure = "ln -s ${common.root}/{languages.toml,theme.toml} .."; };
- helix-syntax = prev: {
- src =
- let
- pkgs = common.pkgs;
- helix = pkgs.fetchgit {
- url = "https://github.com/helix-editor/helix.git";
- rev = "987d8e6dd66d65c2503cc81a3b9ea8787435839a";
- fetchSubmodules = true;
- sha256 = "sha256-GRJ0zMJva9upUatc89AeKYuLq73nxcxDPKDSgEcPASE=";
- };
- in
- pkgs.runCommand prev.src.name { } ''
- mkdir -p $out
- ln -s ${prev.src}/* $out
- ln -sf ${helix}/helix-syntax/languages $out
- '';
+ helix-syntax = _prev: {
preConfigure = "mkdir -p ../runtime/grammars";
postInstall = "cp -r ../runtime $out/runtime";
};