get cabal working for packaging