We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a65adc5 commit 0042fdaCopy full SHA for 0042fda
.travis.yml
@@ -40,7 +40,13 @@ script:
40
SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}')
41
cd dist-newstyle/sdist || cd dist
42
if [[ -f "$SRC_TGZ" ]]; then
43
- cabal install --force-reinstalls "$SRC_TGZ"
+ if cabal --version | grep -q 'version 3.[0-3]'; then
44
+ # https://github.com/haskell/cabal/issues/6393
45
+ echo >&2 "cabal v2-install broke tarball installs, fixed in 3.4"
46
+ echo >&2 "Will not test sdist installability"
47
+ else
48
+ cabal install --force-reinstalls "$SRC_TGZ"
49
+ fi
50
else
51
echo >&2 "$SRC_TGZ not found"
52
exit 1
0 commit comments