Skip to content

Commit

Permalink
Relax upper bound on Cabal dependency
Browse files Browse the repository at this point in the history
Also bumps Stack YAML to latest Stackage nightly snapshot (which includes network-3.1.2.9).

Also updates package.YAML/Cabal file for dependency on network >= 3.1.2.9 on Windows with GHC >= 9.4.5.
  • Loading branch information
mpilgrem committed May 3, 2023
1 parent d35c2e0 commit 2187fa8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 10 deletions.
17 changes: 13 additions & 4 deletions hpack.cabal

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies:
- yaml >= 0.10.0
- aeson >= 1.4.3.0
- scientific
- Cabal >= 3.0.0.0 && < 3.9
- Cabal >= 3.0.0.0 && < 3.11
- pretty
- bifunctors
- cryptonite
Expand All @@ -35,6 +35,11 @@ dependencies:
- vector
- infer-license >= 0.2.0 && < 0.3

# See https://github.com/haskell/network/pull/552.
when:
condition: impl(ghc >= 9.4.5) && os(windows)
dependencies: network >= 3.1.2.9

library:
source-dirs: src
exposed-modules:
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: nightly-2023-02-23
resolver: nightly-2023-05-03 # GHC 9.4.5
8 changes: 4 additions & 4 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
packages: []
snapshots:
- completed:
sha256: 1f4620e9e6768c6d08bc95e644fb13a28464b430853b3cf944b8cd51ec62cecf
size: 598113
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2023/2/23.yaml
original: nightly-2023-02-23
sha256: 5eb95e9f352b5cc0f192b5039ee2f19c88bddf53928b29a2efc54bc1697ab1ea
size: 625217
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2023/5/3.yaml
original: nightly-2023-05-03

0 comments on commit 2187fa8

Please sign in to comment.