summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/parser-combinators')
-rw-r--r--dev-haskell/parser-combinators/parser-combinators-1.3.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-haskell/parser-combinators/parser-combinators-1.3.0.ebuild b/dev-haskell/parser-combinators/parser-combinators-1.3.0.ebuild
index 63701f084dd5..fc3e4a9d5cb2 100644
--- a/dev-haskell/parser-combinators/parser-combinators-1.3.0.ebuild
+++ b/dev-haskell/parser-combinators/parser-combinators-1.3.0.ebuild
@@ -20,6 +20,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc64 ~x86"
+RESTRICT="test" # tests only work if not already installed
RDEPEND=">=dev-lang/ghc-8.6.3:=
"
@@ -42,7 +43,7 @@ src_test() {
if use test; then
./setup register --inplace --gen-pkg-config || die
ghc-pkg init pkgdb || die
- ghc-pkg -f pkgdb register "${P}.conf" || die
+ ghc-pkg -f pkgdb register "${P}.conf"
old_S="${S}"
export S="${WORKDIR}/${TESTS_P}"