Start with
cabal install
Then for your project:
cabal clean cabal configure -fdevelopment cabal build ./dist/build/projname/projname
You should never use cabal install for binary files that you do not want to run from arbitrary locations. You should use cabal build for things that you want to use only locally.
You will need to run cabal build and run the program again when changing Main.hs or the project .cabal file.
If you have additional questions, comment - I'm the guy who implemented this feature for Binding.
source share