on master help sign in
Note about case insensitive issue in tutorial
df1d77eJasper Van der Jeugt
examples/hakyll/tutorial.markdown+13−2
@@ -275,9 +275,9 @@ supported on linux systems. You can enable the bindings using:
275Problems
275Problems
276--------
276--------
277
277
278−### regex-pcre dependency on Mac OS X
278+### regex-pcre dependency on Mac OS
279
279
280−Hakyll requires [regex-pcre], which might fail to build on Mac OS X. To solve
280+Hakyll requires [regex-pcre], which might fail to build on Mac OS. To solve
281this problem, make sure the [pcre] C library is installed (via homebrew or
281this problem, make sure the [pcre] C library is installed (via homebrew or
282macports). Then install [regex-pcre] using:
282macports). Then install [regex-pcre] using:
283
283
@@ -291,3 +291,14 @@ or
291
291
292[regex-pcre]: http://hackage.haskell.org/package/regex-pcre
292[regex-pcre]: http://hackage.haskell.org/package/regex-pcre
293[pcre]: http://www.pcre.org/
293[pcre]: http://www.pcre.org/
294+
295+### "File name does not match module name" on Mac OS
296+
297+ Hakyll.hs:1:1:
298+ File name does not match module name:
299+ Saw: `Main'
300+ Expected: `Hakyll'
301+
302+Is an error encountered on Mac OS when `hakyll.hs` is located on a
303+case-insensitive filesystem. A workaround is to rename it to something that
304+isn't the name of the module, for example, `site.hs`.