phischu / haskell-modules

Extract real Haskell module files
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Make cabal-install ignore all installed packages #1

Closed phischu closed 9 years ago

phischu commented 9 years ago

We want to extract all relevant modules including those in the global package database that come with GHC. Also including base, ghc-prim and integer-simple or integer-gmp.

phischu commented 9 years ago

ghc-pkg dump implicitly includes the global db. We change the used global db to be our own in 7e40b9733179e840099a8c29e965fbf9330131d4

phischu commented 9 years ago

Hardcoding our own global db is not a good idea if we want to run on a different machine

phischu commented 9 years ago

We copy a few packages from the global db in 45b910d43ef9ba76cd8c13e80b4476022b345609