There was an error while loading. Please reload this page.
1 parent c7ad369 commit 7dc4550Copy full SHA for 7dc4550
.travis.yml
@@ -45,7 +45,13 @@ script:
45
SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}')
46
cd dist-newstyle/sdist || cd dist
47
if [[ -f "$SRC_TGZ" ]]; then
48
- cabal install --force-reinstalls "$SRC_TGZ"
+ if cabal --version | grep -q 'version 3.[0-3]'; then
49
+ # https://github.com/haskell/cabal/issues/6393
50
+ echo >&2 "cabal v2-install broke tarball installs, fixed in 3.4"
51
+ echo >&2 "Will not test sdist installability"
52
+ else
53
+ cabal install --force-reinstalls "$SRC_TGZ"
54
+ fi
55
else
56
echo >&2 "$SRC_TGZ not found"
57
exit 1
0 commit comments