[Haskell-beginners] Deploying a haskell application (not a webapp)

Michael Orlitzky michael at orlitzky.com
Wed Dec 17 17:52:56 UTC 2014


On 12/17/2014 09:16 AM, Mateusz Kowalczyk wrote:
> 
> Pretty sure the whole point of this thread is that the OP does not want
> to build on the server.
> 

Oh, sorry, I missed that. You can pass --datadir to Cabal's configure
step; e.g.

  $ runghc Setup.hs configure --datadir=/usr/local/share/<your-app>

I believe it's using /home/alan/.cabal/share as the default, but if you
tell it to do otherwise, it will.



More information about the Beginners mailing list