kachick / dotfiles

🤤✂🌳
MIT License
9 stars 0 forks source link

Cannot use zed-kdl in NixOS #733

Closed kachick closed 3 weeks ago

kachick commented 1 month ago

https://github.com/conradludgate/zed-kdl https://github.com/zed-industries/extensions/tree/main/extensions https://zed.dev/docs/extensions/developing-extensions https://github.com/tree-sitter/tree-sitter https://github.com/tree-sitter-grammars/tree-sitter-kdl https://github.com/zed-industries/zed/blob/6f104fecad49c207770b767f851a134a6cfe9008/crates/extension/src/extension_builder.rs#L31-L45

Ctrl+p -> zed: open log

2024-08-11T14:21:10.077616626+09:00 [INFO] new;
2024-08-11T14:21:10.078587025+09:00 [INFO] keep_updated;
2024-08-11T14:21:10.078684945+09:00 [INFO] new;
2024-08-11T14:21:18.288865094+09:00 [INFO] checking out kdl parser
2024-08-11T14:21:19.358701075+09:00 [INFO] compiling kdl parser
2024-08-11T14:21:19.359273021+09:00 [ERROR] failed to compile grammar 'kdl'

Caused by:
    failed to compile kdl parser with clang: Could not start dynamically linked executable: /home/kachick/.local/share/zed/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
kachick commented 3 weeks ago

I don't want to consider this problem for now. Just noted