Install this version:
emerge -a =dev-haskell/cabal-add-0.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-haskell/cabal-add-0.2
Or alternatively:
emerge --autounmask-write -a =dev-haskell/cabal-add-0.2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.2 | 8 | ~amd64 | 0/0.2 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.9.1.0.9999
CABAL_HACKAGE_REVISION=1
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Extend Cabal build-depends from the command line"
HOMEPAGE="https://hackage.haskell.org/package/cabal-add"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
#USE="cabal-syntax" forced as mandatory for ghc >= 9.4
RESTRICT=test #Unit tests pass, but not those from Main.hs
CABAL_TEST_REQUIRED_BINS=( cabal-add )
RDEPEND=">=dev-haskell/cabal-3.8:=[profile?] <dev-haskell/cabal-3.17:=[profile?]
>=dev-haskell/cabal-install-parsers-0.4.1:=[profile?] <dev-haskell/cabal-install-parsers-0.7:=[profile?]
>=dev-haskell/cabal-syntax-3.8:=[profile?] <dev-haskell/cabal-syntax-3.17:=[profile?]
>=dev-haskell/optparse-applicative-0.16:=[profile?] <dev-haskell/optparse-applicative-0.20:=[profile?]
>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
test? ( >=dev-haskell/diff-0.4
dev-haskell/string-qq
dev-haskell/tasty
dev-haskell/temporary )
"
src_configure() {
haskell-cabal_src_configure \
--flag=cabal-syntax
}
>=dev-haskell/cabal-3.8:=[profile?] <dev-haskell/cabal-3.17:=[profile?] >=dev-haskell/cabal-install-parsers-0.4.1:=[profile?] <dev-haskell/cabal-install-parsers-0.7:=[profile?] >=dev-haskell/cabal-syntax-3.8:=[profile?] <dev-haskell/cabal-syntax-3.17:=[profile?] >=dev-haskell/optparse-applicative-0.16:=[profile?] <dev-haskell/optparse-applicative-0.20:=[profile?] >=dev-lang/ghc-9.0.2:= >=dev-haskell/cabal-3.4.1.0 test? ( >=dev-haskell/diff-0.4 dev-haskell/string-qq dev-haskell/tasty dev-haskell/temporary )
>=dev-haskell/cabal-3.8:=[profile?] <dev-haskell/cabal-3.17:=[profile?] >=dev-haskell/cabal-install-parsers-0.4.1:=[profile?] <dev-haskell/cabal-install-parsers-0.7:=[profile?] >=dev-haskell/cabal-syntax-3.8:=[profile?] <dev-haskell/cabal-syntax-3.17:=[profile?] >=dev-haskell/optparse-applicative-0.16:=[profile?] <dev-haskell/optparse-applicative-0.20:=[profile?] >=dev-lang/ghc-9.0.2:=