From edfb9bf03df4555bba520f47bea8db966d4c739e Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Thu, 12 Sep 2024 20:46:42 +0200 Subject: Update the expectations on grammars Outside the Nix setup, it will be the responsibility of something else (might be a script) to provide the treesitter grammars. --- dged.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dged.nix') diff --git a/dged.nix b/dged.nix index 6f68df9..6bd4e43 100644 --- a/dged.nix +++ b/dged.nix @@ -37,7 +37,8 @@ stdenv.mkDerivation { # needed for tests to work in sandboxed builds LOCALE_ARCHIVE = "${glibcLocalesUtf8}/lib/locale/locale-archive"; - TREESITTER_GRAMMARS = with tree-sitter-grammars; + TREESITTER_GRAMMARS = "./build/grammars"; + BUNDLE_TREESITTER_GRAMMARS = with tree-sitter-grammars; linkFarm "tree-sitter-grammars" rec { "bash" = tree-sitter-bash; "c" = tree-sitter-c; -- cgit v1.2.3