[Haskell-cafe] Location of .cabal folder

Antoine Latter aslatter at gmail.com
Wed Dec 8 06:07:38 CET 2010


Hi Michael,

Cabal-install uses:

> System.Directory.getAppUserDataDirectory "cabal"

in the module Distribution.Client.Config.

Antoine

On Tue, Dec 7, 2010 at 9:52 PM, Michael Snoyman <michael at snoyman.com> wrote:
> Hi all,
>
> I'm trying to figure out how to determine the location of the .cabal
> folder. I'm trying to release the code powering the package dependency
> site[1] as a standalone library/application, but currently I've simply
> hardcoded the path to my 00-index.tar file.
>
> Thanks,
> Michael
>
> [1] http://packdeps.haskellers.com/
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



More information about the Haskell-Cafe mailing list