[Haskell-cafe] Abstracting configuration directories
Michael Orlitzky
michael at orlitzky.com
Sat Dec 21 23:10:40 UTC 2013
On 12/20/2013 02:09 PM, Michael Orlitzky wrote:
>
> A patch looks easy, but I'm not sure that I would call /etc the "global
> data directory" on Unix. I'll have to think about it some more.
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.
More information about the Haskell-Cafe
mailing list