Install this version:
emerge -a =dev-haskell/hiedb-0.7.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-haskell/hiedb-0.7.0.0
Or alternatively:
emerge --autounmask-write -a =dev-haskell/hiedb-0.7.0.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.7.0.0 | 8 | ~amd64 | 0/0.7.0.0 |
# 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_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Generates a references DB from .hie files"
HOMEPAGE="https://hackage.haskell.org/package/hiedb"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="executable"
PATCHES=(
"${FILESDIR}/${PN}-0.7.0.0-disable-flaky-tests.patch"
"${FILESDIR}/${PN}-0.6.0.0-add-executable-flag.patch"
)
CABAL_TEST_REQUIRED_BINS=(
hiedb
)
RDEPEND="
>=dev-haskell/algebraic-graphs-0.3:=[profile?]
>=dev-haskell/ansi-terminal-0.9:=[profile?]
dev-haskell/extra:=[profile?]
dev-haskell/ghc-paths:=[profile?]
>=dev-haskell/hie-compat-0.3:=[profile?] <dev-haskell/hie-compat-0.4:=[profile?]
dev-haskell/lucid:=[profile?]
dev-haskell/optparse-applicative:=[profile?]
dev-haskell/sqlite-simple:=[profile?]
>=dev-haskell/terminal-size-0.2:=[profile?]
dev-haskell/text:=[profile?]
>=dev-lang/ghc-8.6:=[profile?] <dev-lang/ghc-9.13:=[profile?]
>=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
test? (
dev-haskell/ghc-paths
dev-haskell/hspec
dev-haskell/temporary
)
"
src_configure() {
local flags=()
# Build the exe if the user wants it _or_ if the tests are enabled
if use executable || use test; then
flags+=( --flag=executable )
else
flags+=( --flag=-executable )
fi
haskell-cabal_src_configure "${flags[@]}"
}
src_install() {
if use executable; then
# Install everything
haskell-cabal_src_install
else
# Only install lib (skip exe)
haskell-cabal_src_install "lib:${PN}"
fi
}
Manage flags for this package:
euse -i <flag> -p dev-haskell/hiedb |
euse -E <flag> -p dev-haskell/hiedb |
euse -D <flag> -p dev-haskell/hiedb
>=dev-haskell/algebraic-graphs-0.3:=[profile?] >=dev-haskell/ansi-terminal-0.9:=[profile?] dev-haskell/extra:=[profile?] dev-haskell/ghc-paths:=[profile?] >=dev-haskell/hie-compat-0.3:=[profile?] <dev-haskell/hie-compat-0.4:=[profile?] dev-haskell/lucid:=[profile?] dev-haskell/optparse-applicative:=[profile?] dev-haskell/sqlite-simple:=[profile?] >=dev-haskell/terminal-size-0.2:=[profile?] dev-haskell/text:=[profile?] >=dev-lang/ghc-8.6:=[profile?] <dev-lang/ghc-9.13:=[profile?] >=dev-lang/ghc-9.0.2:= >=dev-haskell/cabal-3.4.1.0 test? ( dev-haskell/ghc-paths dev-haskell/hspec dev-haskell/temporary )
>=dev-haskell/algebraic-graphs-0.3:=[profile?] >=dev-haskell/ansi-terminal-0.9:=[profile?] dev-haskell/extra:=[profile?] dev-haskell/ghc-paths:=[profile?] >=dev-haskell/hie-compat-0.3:=[profile?] <dev-haskell/hie-compat-0.4:=[profile?] dev-haskell/lucid:=[profile?] dev-haskell/optparse-applicative:=[profile?] dev-haskell/sqlite-simple:=[profile?] >=dev-haskell/terminal-size-0.2:=[profile?] dev-haskell/text:=[profile?] >=dev-lang/ghc-8.6:=[profile?] <dev-lang/ghc-9.13:=[profile?] >=dev-lang/ghc-9.0.2:=