Paths_<package_name> cabal magic

cabal generates Path_<package_name> on compile, but this doesn't seem to happen in Haskell for Mac.

If HfM supported this then it would have better compatibility with existing Haskell code that assumes this module exists.

I encountered this in the "flappy" example in the helm project.

I was able to work around it by replacing the Paths_helm.getDataDir call with System.Directory.getCurrentDirectory.


Please sign in to leave a comment.