
This works if one removes the -threaded option e.g. cabal exec ghc site.hs Is there a way to make cabal exec accept ghc options? --Britt
Message-ID:
Content-Type: text/plain; charset="utf-8" On Thu, Aug 14, 2014 at 8:13 PM, Britt Anderson
wrote: cabal exec hakyll-init my-site and this works, and I cd ./my-site but the next step specified in the tutorial I can't figure out how to work. It is: ghc --make -threaded site.hs
It fails because it cannot find the Hakyll module to import.
I am hoping to learn what the proper command would be in a sandbox environment, and
You already used it once: put `cabal exec` in front. (Also, you no longer need `--make` in current versions of ghc.)
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net