Skip to content

Commit

Permalink
flake: remove hack to fix helix version (helix-editor#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
happysalada authored Sep 18, 2021
1 parent 70a20b7 commit ae4d37d
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down

0 comments on commit ae4d37d

Please sign in to comment.