From 3798a3baef2c40aeaca8cb9cfd7faa571e69562c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 28 Feb 2024 14:39:53 -1000 Subject: [PATCH] pkg: require safe >=0.3.20, for ghc 9.8 head/tail helpers --- hledger-lib/package.yaml | 2 +- hledger-ui/package.yaml | 2 +- hledger-web/package.yaml | 2 +- hledger/package.yaml | 2 +- stack8.10.yaml | 1 + stack9.0.yaml | 1 + stack9.2.yaml | 1 + stack9.4.yaml | 1 + 8 files changed, 8 insertions(+), 4 deletions(-) diff --git a/hledger-lib/package.yaml b/hledger-lib/package.yaml index a4be3968b..8175a03a2 100644 --- a/hledger-lib/package.yaml +++ b/hledger-lib/package.yaml @@ -68,7 +68,7 @@ dependencies: - parser-combinators >=0.4.0 - pretty-simple >4 && <5 - regex-tdfa -- safe >=0.3.19 +- safe >=0.3.20 - tabular >=0.2 - tasty >=1.2.3 - tasty-hunit >=0.10.0.2 diff --git a/hledger-ui/package.yaml b/hledger-ui/package.yaml index d6b92f740..1a1922dfc 100644 --- a/hledger-ui/package.yaml +++ b/hledger-ui/package.yaml @@ -91,7 +91,7 @@ library: - megaparsec >=7.0.0 && <9.7 - mtl >=2.2.1 - process >=1.2 - - safe >=0.3.19 + - safe >=0.3.20 - split >=0.1 - text >=1.2.4.1 - text-zipper >=0.4 diff --git a/hledger-web/package.yaml b/hledger-web/package.yaml index 4d325d0a3..d539e9957 100644 --- a/hledger-web/package.yaml +++ b/hledger-web/package.yaml @@ -116,7 +116,7 @@ library: - megaparsec >=7.0.0 && <9.7 - mtl >=2.2.1 - network - - safe >=0.3.19 + - safe >=0.3.20 - shakespeare >=2.0.2.2 - template-haskell - text >=1.2.4.1 diff --git a/hledger/package.yaml b/hledger/package.yaml index ac86d6cf0..bbdb7ce2c 100644 --- a/hledger/package.yaml +++ b/hledger/package.yaml @@ -118,7 +118,7 @@ dependencies: - mtl >=2.2.1 - process - regex-tdfa -- safe >=0.3.19 +- safe >=0.3.20 - shakespeare >=2.0.2.2 - split >=0.1 - math-functions >=0.3.3.0 diff --git a/stack8.10.yaml b/stack8.10.yaml index e74ad06f6..6cffcbc35 100644 --- a/stack8.10.yaml +++ b/stack8.10.yaml @@ -9,6 +9,7 @@ packages: - hledger-web extra-deps: +- safe-0.3.21 # for hledger-lib: - doctest-0.20.0 - ansi-terminal-0.11.4 diff --git a/stack9.0.yaml b/stack9.0.yaml index 4d798e800..4bbd8e4a8 100644 --- a/stack9.0.yaml +++ b/stack9.0.yaml @@ -14,6 +14,7 @@ packages: extra-deps: - megaparsec-9.3.0 +- safe-0.3.21 # for hledger-lib: - ansi-terminal-0.11.4 - text-ansi-0.2.1 diff --git a/stack9.2.yaml b/stack9.2.yaml index 36e2ac214..c61359b00 100644 --- a/stack9.2.yaml +++ b/stack9.2.yaml @@ -10,6 +10,7 @@ packages: extra-deps: - megaparsec-9.3.0 +- safe-0.3.21 # for hledger-lib: # for hledger: # for hledger-ui: diff --git a/stack9.4.yaml b/stack9.4.yaml index 7a39ae7c5..da8155351 100644 --- a/stack9.4.yaml +++ b/stack9.4.yaml @@ -9,6 +9,7 @@ packages: - hledger-web extra-deps: +- safe-0.3.21 - brick-2.3.1 - vty-6.2 - vty-crossplatform-0.4.0.0