
22 Dec
2013
22 Dec
'13
7:48 a.m.
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@gmail.com