NixOS Helix flake grammars #13330
Unanswered
niccogc
asked this question in
Troubleshooting
Replies: 1 comment 3 replies
-
The correct runtime directory should be /nix/store/a7dwprkxvl95sb3ipj61ix51bymj0zw1-helix-runtime I think, what's in there? Here's what hx --health shows on my machine using the flake installation
Just a random guess, I wonder if home manager or impermanence are interacting badly with the local ~/.config/helix/runtime directory? You should be able to remove ~/.config/helix/runtime entirely and it should fall back to using the nix store path |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
My setup is Helix installed through its flake, I use home manager as a NixOS module.
I use impermanence and disko-nix, but the nix store is not wiped at every boot so it shouldn t matter
The problem:
At every boot Helix download all tree sitter grammars from github and rebuild it, taking 3 or 4 minutes.
Expected behaviour:
Helix should download the grammar once and then reuse it for next boots.
the result of hx --health
❯ hx --health
Config file: /home/nicci/.config/helix/config.toml
Language file: /home/nicci/.config/helix/languages.toml
Log file: /home/nicci/.cache/helix/helix.log
Runtime directories: /home/nicci/.config/helix/runtime;/nix/store/a7dwprkxvl95sb3ipj61ix51bymj0zw1-helix-runtime;/nix/store/r7f80a193arnar1p98j3vfg16fv0kwp7-helix-term/bin/runtime
Runtime directory does not exist: /nix/store/r7f80a193arnar1p98j3vfg16fv0kwp7-helix-term/bin/runtime
indeed the folder …-helix-term/bin has a file called hx inside and not a runtime folder but I don t know if that is causing the issue
If you need any more infos I will be hapy to provide them
Thankss
Beta Was this translation helpful? Give feedback.
All reactions