summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-03-15 19:30:06 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-03-15 22:32:51 +0000
commit0ebb41cfa6b93e9ee679531ba658b01f36f0d322 (patch)
tree85d5fade10c23ac9523869feb3e3bebf33000495 /dev-haskell
parentdev-haskell/haddock: bump up to 2.24.0 (diff)
downloadgentoo-0ebb41cfa6b93e9ee679531ba658b01f36f0d322.tar.gz
gentoo-0ebb41cfa6b93e9ee679531ba658b01f36f0d322.tar.bz2
gentoo-0ebb41cfa6b93e9ee679531ba658b01f36f0d322.zip
dev-haskell/newtype: allow ghc-8.10
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell')
-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'
+}