summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-11-04 20:09:09 -0600
committerSam James <sam@gentoo.org>2023-11-19 18:32:32 +0000
commit40d68aa8f02288089548e0d3d5a5e820fb0e5e1d (patch)
treec33c3e5c6723a96931ddb743f156e951a966bee5 /dev-haskell/extra
parentdev-haskell/indexed-traversable-instances: Loosen constraint on base (diff)
downloadgentoo-40d68aa8f02288089548e0d3d5a5e820fb0e5e1d.tar.gz
gentoo-40d68aa8f02288089548e0d3d5a5e820fb0e5e1d.tar.bz2
gentoo-40d68aa8f02288089548e0d3d5a5e820fb0e5e1d.zip
dev-haskell/extra: Add conditional upper bound to ghc dep
Tests included with extra-1.7.10 do not work with >=ghc-9.2. Add an upper bound for dev-lang/ghc if USE=test is enabled. Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/extra')
-rw-r--r--dev-haskell/extra/extra-1.7.10.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-haskell/extra/extra-1.7.10.ebuild b/dev-haskell/extra/extra-1.7.10.ebuild
index e2ee648bf59f..d12c08648244 100644
--- a/dev-haskell/extra/extra-1.7.10.ebuild
+++ b/dev-haskell/extra/extra-1.7.10.ebuild
@@ -19,6 +19,14 @@ KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
RDEPEND=">=dev-haskell/clock-0.7:=[profile?]
>=dev-lang/ghc-8.4.3:=
"
+
+# Tests do not work correctly on >=ghc-9.2
+RDEPEND+="
+ test? (
+ <dev-lang/ghc-9.1
+ )
+"
+
DEPEND="${RDEPEND}
>=dev-haskell/cabal-2.2.0.1
test? ( >=dev-haskell/quickcheck-2.10