Hmmm... that means the custom setup failed....
Is git on your PATH? Plush's Setup.hs (called during cabal configure) runs "git describe --always --dirty" in the current directory to get the revision id for what you're building, and then modifies the Version number for the build to incorporate it.
Several ideas:
- Check that "git describe --always --dirty" works from the root of your plush tree. Perhaps you have version of git that this doesn't work on?
- Are you building directly out of a git clone? If you are building out of a tree copy without the git repo information, this won't work. If you want to build in such a place you could "git init" there, just so it will build...
- Are you using some hermetic build system - like cabal-dev, or the newer cabal sandbox feature? I haven't tried the later and I suppose it may run the Setup in a place that isn't within the git repo...
In any event, you can temporarily get past this by disabling the custom setup. Simple edit plush.cabal so instead of "Build-type: Custom" it reads "Build-type: Simple". The custom build is only there to insert the git revision in the version, and to adjust the profiling build option. Neither of these is needed for a running Plush.
Let me know what you find. I'll try to make Setup.hs more robust if we can figure out why it failed on your system.
- Mark