Try bash within stack to run configure.
-rw-r--r-- 1112 .appveyor.yml
-rw-r--r-- 74 .gitignore
-rw-r--r-- 2309 .travis.yml
-rw-r--r-- 1498 LICENSE
-rw-r--r-- 3305 README.md
-rw-r--r-- 517 build.bat
-rwxr-xr-x 1287 build.cabal.sh
-rwxr-xr-x 1280 build.sh
drwxr-xr-x - cfg
-rw-r--r-- 5067 shaking-up-ghc.cabal
drwxr-xr-x - src