[Haskell-cafe] Abstracting configuration directories

Joeri van Eekelen j.v.eekelen at gmail.com
Sun Dec 22 12:48:33 UTC 2013


Interesting. Is there documentation anywhere about what Cabal puts into 
the Paths_*.hs files? I couldn't find anything beyond getDataFileName 
and version :: Version in the Cabal user guide. The link to "prefix 
independence" refers to a non-existing anchor tag.

On 2013-12-22 00:10, Michael Orlitzky wrote:
> For posterity, when using Cabal, the system config directory is
> available via getSysconfDir in build/autogen/Paths_<program>.hs. This
> puts the responsibility on the person who runs configure, which I kind
> of like.
>

-- 
Joeri van Eekelen - j.v.eekelen at gmail.com


More information about the Haskell-Cafe mailing list