Getting the location of data files from ghc-pkg?

23 Oct
2008
23 Oct
'08
2:31 a.m.
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. -- Robin

23 Oct
23 Oct
2:20 p.m.
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-m... Duncan
6053
Age (days ago)
6053
Last active (days ago)
1 comments
2 participants
participants (2)
-
Duncan Coutts
-
Robin Green