Skip to content

serverExecutablePath can only be set globally since 1.3.0 #393

Closed
@nc6

Description

@nc6

For some projects, I have an overridden haskell-language-server script in the project that sets up the environment correctly (in particular, executes it in the correct nix-shell). This worked well up until 1.3.0, when the serverExecutablePath was set to have only "machine" scope and thus must be configured globally.

The ostensible reason for this change is to prevent somebody from causing arbitrary script execution, but this seems weak - if you're compiling code I have control over, I can do this just as easily through a TH splice. So I'd like to request that this change be reverted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions