How to jailbreak haskell package in shell

Looks like it was my cabal.project that was giving me trouble. I added allow-newer and I was able to build the project in the shell