Skip to content

Apply-refact shouldn't hardcode GHC.Paths.libdir in parseModuleWithArgs #133

@fendor

Description

@fendor

From haskell/haskell-language-server#3241, we essentially traced the issue to https://github.com/mpickering/apply-refact/blob/master/src/Refact/Internal.hs#L718.
Our binary distribution uses the wrong libdir because of ghc-paths.

The solution is to allow us to specify the libdir in parseModuleWithArgs, since we do know it.
Additionally, every usage of parseModuleWithArgs needs to propagate this parameter requirement.

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