Closed
Description
I've set up a test case at https://github.com/enolan/cabal-custom-setup-test. It contains a simple project with the following setup-depends section:
custom-setup
setup-depends: base, Cabal, shake
And its Setup.hs imports the Development.Shake module. Running cabal configure
with HEAD cabal and cabal-install results in this:
dist/setup/setup.hs:2:8:
Could not find module ‘Development.Shake’
Use -v to see a list of the files searched for.
The shake package is not downloaded or built.
The setup.sh
file grabs cabal from git, creates a sandbox with existing cabal-install, adds Cabal and cabal-install as sources, builds the new cabal-install in the sandbox, and uses it to run cabal configure
.