Well, this is not the fast and clean solution you were looking for, but ... there is a leksah development version that has "experimental cabal-dev support." If you look a little at the src directory and check the corresponding files, you will see that there is an option in the IDE settings menu that allows you to use cabal-dev. There is also updated code for installing dependencies accordingly. The link is here:
https://github.com/leksah/leksah
Hope this helps.
source share