@@ -24,14 +24,16 @@ GHC_PRIME_VER="8.10"
2424JOBS=1
2525
2626# Without cabal project file, it will not run any tests
27+# XXX Added DISABLE_SDIST_BUILD because of a cabal issue
2728ghc_prime_dist () {
2829 nix-shell \
2930 --argstr compiler "$GHC_PRIME_NIX" \
3031 --run "\
3132 packcheck.sh cabal-v2 \
3233 GHCVER=$GHC_PRIME_VER \
33− CABAL_BUILD_OPTIONS="$CABAL_BUILD_OPTIONS --jobs=$JOBS" \
34+ CABAL_BUILD_OPTIONS=\"$CABAL_BUILD_OPTIONS --jobs=$JOBS\" \
3435 CABAL_DISABLE_DEPS=y \
36+ DISABLE_SDIST_BUILD=y \
3537 CABAL_CHECK_RELAX=y"
3638}
3739
@@ -42,7 +44,7 @@ ghc_prime_dist_tests () {
4244 --run "\
4345 packcheck.sh cabal-v2 \
4446 GHCVER=$GHC_PRIME_VER \
45− CABAL_BUILD_OPTIONS="$CABAL_BUILD_OPTIONS --jobs=$JOBS" \
47+ CABAL_BUILD_OPTIONS=\"$CABAL_BUILD_OPTIONS --jobs=$JOBS\" \
4648 CABAL_PROJECT=cabal.project \
4749 CABAL_DISABLE_DEPS=y \
4850 CABAL_CHECK_RELAX=y"
@@ -55,7 +57,7 @@ ghc_prime_dist_tests_stack () {
5557 --run "\
5658 packcheck.sh stack \
5759 GHCVER=$GHC_PRIME_VER \
58− STACK_BUILD_OPTIONS="--jobs $JOBS --system-ghc" \
60+ STACK_BUILD_OPTIONS=\"--jobs $JOBS --system-ghc\" \
5961 STACK_YAML=stack.yaml"
6062}
6163