diff options
| author | Albert Cervin <albert@acervin.com> | 2024-09-12 20:46:42 +0200 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2024-09-12 20:46:42 +0200 |
| commit | edfb9bf03df4555bba520f47bea8db966d4c739e (patch) | |
| tree | fb1b3261ca6637a534c8ea64ef780cf3a93aeb48 /dged.nix | |
| parent | 405da5f84b072ea97b69359454899f45d92d24b6 (diff) | |
| download | dged-edfb9bf03df4555bba520f47bea8db966d4c739e.tar.gz dged-edfb9bf03df4555bba520f47bea8db966d4c739e.tar.xz dged-edfb9bf03df4555bba520f47bea8db966d4c739e.zip | |
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.
Diffstat (limited to 'dged.nix')
| -rw-r--r-- | dged.nix | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |
