Install this version:
emerge -a =dev-haskell/exceptions-0.10.7
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-haskell/exceptions-0.10.7
Or alternatively:
emerge --autounmask-write -a =dev-haskell/exceptions-0.10.7
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.8.2.0.9999
CABAL_HACKAGE_REVISION=1
# Disable test suite on bundled packages (haskell-cabal.eclass won't allow them
# to be rebuilt because of CABAL_CORE_LIB_GHC_PV)
CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite
inherit haskell-cabal
RESTRICT="test"
DESCRIPTION="Extensible optionally-pure exceptions"
HOMEPAGE="https://github.com/ekmett/exceptions/"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64"
RDEPEND=">=dev-lang/ghc-8.8.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.0.0.0
"
# test? (
# >=dev-haskell/quickcheck-2.5 <dev-haskell/quickcheck-2.15
# >=dev-haskell/test-framework-0.8 <dev-haskell/test-framework-0.9
# >=dev-haskell/test-framework-hunit-0.3 <dev-haskell/test-framework-hunit-0.4
# >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4
# )
CABAL_CORE_LIB_GHC_PV="9.6.2 9.6.3 9.6.4 9.6.5 9.6.6 9.6.7 9.8.2 9.8.3 9.8.4 9.10.1"
>=dev-lang/ghc-8.8.1:= >=dev-haskell/cabal-3.0.0.0
>=dev-lang/ghc-8.8.1:=