Gram downloads a dynamically compiled binary as part of the extension compilation process, which doesn't fly on nixOS without the use of stub-ld.
This makes any extensions being compiled, well, not compile.
Relevant log snippet:
Caused by:
failed to compile nix parser with clang: Could not start dynamically linked executable: /home/alexia/.local/share/gram/extensions/build/wasi-sdk/bin/clang
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld
2026年03月07日T18:57:32+01:00 ERROR [crates/extension_host/src/extension_host.rs:601] failed to compile grammar 'nix'
Caused by:
failed to compile nix parser with clang: Could not start dynamically linked executable: /home/alexia/.local/share/gram/extensions/build/wasi-sdk/bin/clang
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld
Related to #54