apply-refact icon indicating copy to clipboard operation
apply-refact copied to clipboard

Migrate from `ghc-paths` to `hie-bios` for obtaining the libdir of ghc at run-time

Open fendor opened this issue 3 years ago • 0 comments

Using ghc-paths makes it difficult to create binary distributions of apply-refact. Even worse, downstream consumers that don't realise this package uses ghc-paths will run into issues such as #133, and also not be able to provide binary distributions of their program.

It would be much better if the libdir was found at run-time, instead of at compile-time, e.g. using hie-bios which is what HLS uses for, or allows passing a libdir on the cli.

fendor avatar Jan 17 '23 10:01 fendor