Skip to content

Commit 63b215a

Browse files
committed
dev-haskell/pantry: Fix tests
A custom src_prepare that fixed the tests was dropped when the package was bumped last. Signed-off-by: hololeap <hololeap@protonmail.com>
1 parent 9bc2f5d commit 63b215a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dev-haskell/pantry/pantry-0.11.0.ebuild

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ DEPEND="${RDEPEND}
7373
dev-haskell/raw-strings-qq )
7474
"
7575

76+
src_prepare() {
77+
# These modules are full of tests that depend on network access
78+
for t in Cabal GlobalHints Hackage Tree; do
79+
rm "${S}/test/Pantry/${t}Spec.hs" || die
80+
done
81+
82+
haskell-cabal_src_prepare
83+
}
84+
7685
src_configure() {
7786
haskell-cabal_src_configure \
7887
--flag=-test-pretty-exceptions

0 commit comments

Comments
 (0)