Getting the location of data files from ghc-pkg?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Oct 23 14:20:07 EDT 2008


On Thu, 2008-10-23 at 07:31 +0100, Robin Green wrote:
> Is there any way of finding out where the Data-files specified in
> a .cabal file have been installed to? I want to script finding some TeX
> support files that are installed as part of the Functional MetaPost
> library.

Yes. See the Cabal user guide section on this topic:

http://haskell.org/cabal/release/latest/doc/users-guide/authors.html#paths-module


Duncan



More information about the Glasgow-haskell-users mailing list