Disable ormolu for hakyll DSL-y code; only bring in a stylesheet if we have one

This commit is contained in:
Robert Pearce 2020-11-02 12:28:23 -05:00
parent 9244c2e20f
commit 8cec937b86
No known key found for this signature in database
GPG key ID: 07A0E482E5616C9B
9 changed files with 70 additions and 56 deletions

View file

@ -0,0 +1,19 @@
cabal-version: 2.4
name: hakyll-nix-template
version: 0.1.0.0
build-type: Simple
license: BSD-3-Clause
license-file: LICENSE
executable hakyll-site
main-is: Main.hs
hs-source-dirs: src
build-depends: base == 4.*
, hakyll ^>= 4.13.3.0
, pandoc >= 2.0.5 && < 2.10
, text ^>= 1.2.4
, time >= 1.8 && < 1.10
other-modules: Slug
ghc-options: -Wall -threaded
default-language: Haskell2010