Setting up Hakyll

Posted on March 14, 2020

Setting up Hakyll

Successful Commands

  1. curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

  2. source $HOME/.ghcup/env

  3. cabal install hakyll

  4. stack exec hakyll-init $NAME

  5. cd $NAME

  6. change $NAME.cabal

     name:               $NAME
     version:            0.1.0.0
     build-type:         Simple
     cabal-version:      >= 1.10
    
     executable site
       main-is:          site.hs
       build-depends:    base == 4.*
                       , hakyll == 4.*
       ghc-options:      -threaded
       default-language: Haskell2010