Closed
Description
Summary
helix --grammar fetch
fails when using Helix built with Nix, since its runtime directory is set in Nix store which is not writable.
Reproduction Steps
nix shell github:helix-editor/helix
hx --grammar fetch
Helix log
Error: Failed to fetch some grammar(s)
Caused by:
0: Could not create grammar directory "/nix/store/5znz3zwidqndnqa54ibhv1yfgxd5xmip-helix-runtime/grammars/sources/protobuf"
1: Permission denied (os error 13)
Platform
Arch Linux
Terminal Emulator
foot 1.12.1
Helix Version
helix 22.05