@@ -126,6 +126,7 @@ install:
126 - ${CABAL} v2-freeze $WITHCOMPILER ${TEST} ${BENCH} | color_cabal_output
126 - ${CABAL} v2-freeze $WITHCOMPILER ${TEST} ${BENCH} | color_cabal_output
127 - "cat cabal.project.freeze | sed -E 's/^(constraints: *| *)//' | sed 's/any.//'"
127 - "cat cabal.project.freeze | sed -E 's/^(constraints: *| *)//' | sed 's/any.//'"
128 - rm cabal.project.freeze
128 - rm cabal.project.freeze
129+ - rm cabal.project.local
130 - DISTDIR=$(mktemp -d /tmp/dist-test.XXXX)
131 - DISTDIR=$(mktemp -d /tmp/dist-test.XXXX)
131 # Packaging...
132 # Packaging...
@@ -145,6 +146,7 @@ script:
145 - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(reflex)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
146 - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(reflex)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
146 - cat cabal.project || true
147 - cat cabal.project || true
147 - cat cabal.project.local || true
148 - cat cabal.project.local || true
149+ - rm cabal.project.local
148 # Building...
150 # Building...
149 # this builds all libraries and executables (without tests/benchmarks)
151 # this builds all libraries and executables (without tests/benchmarks)
150 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all | color_cabal_output
152 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all | color_cabal_output