Skip to content

Commit

Permalink
Merge pull request #125 from ludat/fix-ci-dhall
Browse files Browse the repository at this point in the history
Add stack.yaml for lts-22.18
  • Loading branch information
ludat authored May 3, 2024
2 parents 81af49f + c751763 commit fb1f8a6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/hspec/src/Conferer/FromConfig/Hspec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ desconstructHspecConfigToDefaults Hspec.Config{..} =
#endif
#if MIN_VERSION_hspec_core(2,11,5)
, ("formatException", toDyn configFormatException)
#endif
#if MIN_VERSION_hspec_core(2,11,8)
, ("seed", toDyn configSeed)
#endif
]

Expand Down Expand Up @@ -254,5 +257,8 @@ instance FromConfig Hspec.Config where
#endif
#if MIN_VERSION_hspec_core(2,11,5)
NotUserConfigurable configFormatException <- fetchFromConfig (key /. "formatException") config
#endif
#if MIN_VERSION_hspec_core(2,11,8)
configSeed <- fetchFromConfig (key /. "seed") config
#endif
pure Hspec.Config{..}
17 changes: 17 additions & 0 deletions stack-lts-22.18.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
resolver: none
allow-newer: true

packages:
- ./packages/conferer/
- ./packages/aeson/
- ./packages/dhall/
- ./packages/hedis/
- ./packages/hspec/
- ./packages/snap/
- ./packages/warp/
- ./packages/yaml/
- ./example/

extra-deps:
- dhall-json-1.7.12@sha256:de9712d0d538a4e4ff5c86b6949f8776fd499cee9a7e537e31348566e74a317a,4517

0 comments on commit fb1f8a6

Please sign in to comment.