phischu / haskell-modules

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

Compiling Setup scripts requires a version of Cabal #6

Open phischu opened 9 years ago

phischu commented 9 years ago

array-0.5.0.0 fails with the following error message

user error (The package 'array' requires Cabal library version -any && >=1.10
but no suitable version is installed.)

For some reason this works on my machine. We have to find out if we can expose a different package-db for the Setup script .

phischu commented 9 years ago

We could build the setup script in a different sandbox and then use the resulting executable to build the actual package. cabal-install probably does something like this with its setup-exe-cache

phischu commented 9 years ago

The current workaround is to build a package outside of the sandbox so that the setup-exe-cache is populated