lukexi / halive

Live recompiler for Haskell
BSD 2-Clause "Simplified" License
263 stars 18 forks source link

Add global package DB to GHC session #20

Closed pikajude closed 7 years ago

pikajude commented 7 years ago

AFAICT, this isn't exactly the same thing as what ghc-paths would give you; in a nix environment, the global-package-db is passed as a flag in the GHC wrapper script, whereas ghc-paths would give you the package DB that the real GHC uses which won't have everything in it.