jaspervdj / hakyll

A static website compiler library in Haskell
jaspervdj.be/hakyll
Other
2.7k stars 409 forks source link

Installation tutorial instructions for hakyll-init do not work as described #655

Open ghost opened 6 years ago

ghost commented 6 years ago

I tried following the installation instructions of the tutorial using Fedora packages, but the instructions seem to be incorrect:

$ hakyll-init my-site
Creating my-site/my-site.cabal
hakyll-init: my-site/my-site.cabal: openFile: does not exist (No such file or directory)
$ dnf info ghc-hakyll-devel
Last metadata expiration check: 28 days, 19:10:25 ago on Thu Jul 12 14:33:38 2018.
Installed Packages
Name         : ghc-hakyll-devel
Version      : 4.10.0.0
Release      : 2.fc28
Arch         : x86_64
Size         : 21 M
Source       : ghc-hakyll-4.10.0.0-2.fc28.src.rpm
Repo         : @System
From repo    : fedora
Summary      : Haskell hakyll library development files
URL          : https://hackage.haskell.org/package/hakyll
License      : BSD
Description  : This package provides the Haskell hakyll library development files.
juhp commented 6 years ago

I have hit this too - AFAICT hakyll needs the directory already to exist - seems confusing. (I don't think it is Fedora specific.) Also the site.hs is not created??