mirror of
https://github.com/serokell/haskell-with-utf8.git
synced 2024-09-11 06:45:36 +03:00
deps: Allow text-2.0
text-2.0 has been released and everything seems to be working just fine. I tested with it on GHC 8.10.7 and GHC 9.2.1. I could not test on 9.0.1 due to technical difficulties with haskell.nix, but I suppose it works. The issue with haskell.nix is that text-2.0 broke an internal interface used by hashable, so we need a new hashable, but it fails to build for an unknown reason.
This commit is contained in:
parent
a67af96fc6
commit
e74dcfafbf
@ -160,11 +160,11 @@
|
||||
"hackage": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1636766065,
|
||||
"narHash": "sha256-g3/EFO0QNrbU8U9DDd/qByTshrxE30FAMMppfb/uIXI=",
|
||||
"lastModified": 1640481134,
|
||||
"narHash": "sha256-AGRI8riK7JPcsMZkR8GJJeUdGAGR03EebzIWfRAJL7E=",
|
||||
"owner": "input-output-hk",
|
||||
"repo": "hackage.nix",
|
||||
"rev": "cebdce72a115476f3ea681812b449fba35cfe40f",
|
||||
"rev": "66f7a39f37bbc47a96ae99d7dab123f0dd71404b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -38,7 +38,7 @@ ghc-options:
|
||||
|
||||
dependencies:
|
||||
- base >= 4.10 && < 4.17
|
||||
- text >= 0.7 && < 1.3
|
||||
- text >= 0.7 && < 2.1
|
||||
|
||||
library:
|
||||
source-dirs: lib
|
||||
|
@ -13,3 +13,9 @@ extra-deps:
|
||||
- constraints-0.13.1
|
||||
- hashable-1.3.5.0
|
||||
- random-1.2.1
|
||||
|
||||
# text-2.0
|
||||
#- hashable-1.4.0.1
|
||||
#- text-2.0
|
||||
|
||||
#allow-newer: true # text-2.0: some of our deps (incorrectly) say they don’t like it
|
||||
|
@ -1,10 +1,10 @@
|
||||
cabal-version: 1.18
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.34.4.
|
||||
-- This file has been generated from package.yaml by hpack version 0.34.5.
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
--
|
||||
-- hash: a503b7726c9828d56678af138259fcb28ff277506741565ba90bba76c86bbd3a
|
||||
-- hash: 930f59e2f7815f238524f9e35825dd18c98fe04cfb768e3922af929bd6cf8c63
|
||||
|
||||
name: with-utf8
|
||||
version: 1.0.2.3
|
||||
@ -52,7 +52,7 @@ library
|
||||
build-depends:
|
||||
base >=4.10 && <4.17
|
||||
, safe-exceptions ==0.1.*
|
||||
, text >=0.7 && <1.3
|
||||
, text >=0.7 && <2.1
|
||||
default-language: Haskell2010
|
||||
|
||||
executable utf8-troubleshoot
|
||||
@ -70,7 +70,7 @@ executable utf8-troubleshoot
|
||||
, filepath >=1.0 && <1.5
|
||||
, process >=1.0.1.1 && <1.7
|
||||
, safe-exceptions
|
||||
, text >=0.7 && <1.3
|
||||
, text >=0.7 && <2.1
|
||||
, th-env >=0.1.0.0 && <0.2
|
||||
default-language: Haskell2010
|
||||
|
||||
@ -99,7 +99,7 @@ test-suite with-utf8-test
|
||||
, tasty-hedgehog
|
||||
, tasty-hunit
|
||||
, temporary
|
||||
, text >=0.7 && <1.3
|
||||
, text >=0.7 && <2.1
|
||||
, unix
|
||||
, with-utf8
|
||||
default-language: Haskell2010
|
||||
|
Loading…
Reference in New Issue
Block a user