Skip to content

NixOS: Could not start dynamically linked executable: copilot-language-server #407

@jamestrew

Description

@jamestrew

Looks like in a recent commit, this plugin automatically installs the official copilot-language-server.

This ends up throwing this error (from lsp.log)

Could not start dynamically linked executable: /home/jt/.local/share/nvim/lazy/copilot.lua/copilot/linux-x64/copilot-language-server-1.292.0
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

The copilot-language-server is already available as a nix package. Is it possible to pass copilot.lua a path to the executable installed via nix instead of it being managed completely by copilot.lua?
I did not see any option under .setup({...}). Sorry if I just missed it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions