Location of .cabal folder
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/
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@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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Thanks Antoine, exactly the information I needed! Michael On Wed, Dec 8, 2010 at 7:07 AM, Antoine Latter <aslatter@gmail.com> wrote:
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@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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Antoine Latter -
Michael Snoyman