apply-refact
apply-refact copied to clipboard
Migrate from `ghc-paths` to `hie-bios` for obtaining the libdir of ghc at run-time
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.