summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/newtype/newtype-0.2.2.0.ebuild')
-rw-r--r--dev-haskell/newtype/newtype-0.2.2.0.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-haskell/newtype/newtype-0.2.2.0.ebuild b/dev-haskell/newtype/newtype-0.2.2.0.ebuild
index 2b424a821927..f3a91654edfc 100644
--- a/dev-haskell/newtype/newtype-0.2.2.0.ebuild
+++ b/dev-haskell/newtype/newtype-0.2.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,3 +22,10 @@ RDEPEND=">=dev-lang/ghc-7.8.2:=
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.18.1.3
"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'base >= 4.5 && < 4.14' 'base >= 4.5'
+}