Skip to content

Commit 842f4e1

Browse files
authored
Fix issue #444 (hakyll runs out of file handles) (#455)
* Fix issue #444 (hakyll runs out of file handles) On systems which don't provide enough file handles to processes, building the site with hakyll can fail since hakyll holds on to too many file handles at the same time. This commit bumps the minimum requirement on hakyll to version 4.16.1.0, which fixes the problem. * Add hakyll-4.16.1.0 to extra-deps of stack.yaml * Fix stack build error
1 parent 5659318 commit 842f4e1

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

.github/workflows/stack-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ jobs:
2727
- uses: freckle/stack-action@v4
2828
with:
2929
working-directory: message-index
30+
pedantic: false

message-index/message-index.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cabal-version: 2.0
66
executable site
77
main-is: site.hs
88
build-depends: base == 4.*
9-
, hakyll ^>= 4.16.0.0
9+
, hakyll ^>= 4.16.1.0
1010
, commonmark >= 0.2.2
1111
, filepath ^>= 1.4
1212
, microlens ^>= 0.4.12

message-index/stack.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
resolver: lts-19.10
2-
# system-ghc: true
2+
extra-deps:
3+
- hakyll-4.16.1.0

message-index/stack.yaml.lock

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@
33
# For more information, please see the documentation at:
44
# https://docs.haskellstack.org/en/stable/lock_files
55

6-
packages: []
6+
packages:
7+
- completed:
8+
hackage: hakyll-4.16.1.0@sha256:2f5984ec2f0bfc066279f61747839c149f90fbc0d4655c3cf51acda2cf7111b6,9845
9+
pantry-tree:
10+
sha256: 8bcd5b6e99b7e461508c39e7c71dfe7e90d0dae2620b98464d697df5ed2fda23
11+
size: 9185
12+
original:
13+
hackage: hakyll-4.16.1.0
714
snapshots:
815
- completed:
16+
sha256: 005f204647467d65c4ab549a5ca35d54b3d90a84a99a4ffc5d421a4018854fe2
917
size: 618509
1018
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/10.yaml
11-
sha256: 005f204647467d65c4ab549a5ca35d54b3d90a84a99a4ffc5d421a4018854fe2
1219
original: lts-19.10

0 commit comments

Comments
 (0)