Skip to content

Commit 082cf20

Browse files
authored
Merge pull request #4616 from haskell/ghc-8.2.1-blockers
Fix remaining GHC 8.2.1 blockers
2 parents 42d92c9 + 132cf21 commit 082cf20

File tree

12 files changed

+34
-31
lines changed

12 files changed

+34
-31
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,5 @@ Wojciech Danilo <wojtek.danilo@gmail.com>
273273
Yitzchak Gale <gale@sefer.org>
274274
Yuras Shumovich <shumovichy@gmail.com>
275275
capsjac <capsjac@gmail.com>
276+
ilovezfs <ilovezfs@icloud.com>
276277
Łukasz Dąbek <sznurek@gmail.com>

Cabal/Cabal.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Cabal
2-
version: 2.0.0.0
2+
version: 2.0.0.2
33
copyright: 2003-2017, Cabal Development Team (see AUTHORS file)
44
license: BSD3
55
license-file: LICENSE

Cabal/Distribution/Simple/Test/LibV09.hs

+11-10
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ import Distribution.Verbosity
3535

3636
import qualified Control.Exception as CE
3737
import System.Directory
38-
( createDirectoryIfMissing, doesDirectoryExist, doesFileExist
38+
( createDirectoryIfMissing, canonicalizePath
39+
, doesDirectoryExist, doesFileExist
3940
, getCurrentDirectory, removeDirectoryRecursive, removeFile
40-
, setCurrentDirectory, makeAbsolute )
41+
, setCurrentDirectory )
4142
import System.Exit ( ExitCode(..), exitWith )
4243
import System.FilePath ( (</>), (<.>) )
4344
import System.IO ( hClose, hGetContents, hPutStr )
@@ -90,14 +91,14 @@ runTest pkg_descr lbi clbi flags suite = do
9091
shellEnv = [("HPCTIXFILE", tixFile) | isCoverageEnabled]
9192
++ pkgPathEnv
9293
-- Add (DY)LD_LIBRARY_PATH if needed
93-
shellEnv' <- if LBI.withDynExe lbi
94-
then do
95-
let (Platform _ os) = LBI.hostPlatform lbi
96-
paths <- LBI.depLibraryPaths
97-
True False lbi clbi
98-
cpath <- makeAbsolute $ LBI.componentBuildDir lbi clbi
99-
return (addLibraryPath os (cpath : paths) shellEnv)
100-
else return shellEnv
94+
shellEnv' <-
95+
if LBI.withDynExe lbi
96+
then do
97+
let (Platform _ os) = LBI.hostPlatform lbi
98+
paths <- LBI.depLibraryPaths True False lbi clbi
99+
cpath <- canonicalizePath $ LBI.componentBuildDir lbi clbi
100+
return (addLibraryPath os (cpath : paths) shellEnv)
101+
else return shellEnv
101102
createProcessWithEnv verbosity cmd opts Nothing (Just shellEnv')
102103
-- these handles are closed automatically
103104
CreatePipe (UseHandle wOut) (UseHandle wOut)

Cabal/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
VERSION=2.0.0.0
2+
VERSION=2.0.0.2
33

44
#KIND=devel
55
KIND=rc

Cabal/changelog

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-*-change-log-*-
22

3-
2.0.0.0 Ryan Thomas <ryan@ryant.org> May 2017
3+
2.0.0.2 Ryan Thomas <ryan@ryant.org> July 2017
44
* The 2.0 migration guide gives advice on adapting Custom setup
55
scripts to backwards-incompatible changes in this release:
66
https://github.com/haskell/cabal/wiki/2.0-migration-guide

Cabal/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}:
55
mkDerivation {
66
pname = "Cabal";
7-
version = "2.0.0.0";
7+
version = "2.0.0.2";
88
src = ./.;
99
libraryHaskellDepends = [
1010
array base binary bytestring containers deepseq directory filepath

appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ build_script:
2727
- Setup install
2828
# hackage-repo-tool doesn't build on Windows:
2929
# https://github.com/well-typed/hackage-security/issues/175
30-
# - echo "" | ..\cabal install hackage-repo-tool --allow-newer=Cabal,time --constraint="Cabal == 2.0.0.0"
30+
# - echo "" | ..\cabal install hackage-repo-tool --allow-newer=Cabal,time --constraint="Cabal == 2.0.0.2"
3131
- cd ..\cabal-testsuite
32-
- ghc --make -threaded -i Setup.hs -package Cabal-2.0.0.0
32+
- ghc --make -threaded -i Setup.hs -package Cabal-2.0.0.2
3333
- echo "" | ..\appveyor-retry ..\cabal install --only-dependencies --enable-tests --constraint="unbounded-delays < 0.1.0.10"
3434
- Setup configure --user --ghc-option=-Werror --enable-tests
3535
- Setup build

cabal-install/bootstrap.sh

+10-10
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ PREFIX=${PREFIX:-${DEFAULT_PREFIX}}
208208

209209
# Versions of the packages to install.
210210
# The version regex says what existing installed versions are ok.
211-
PARSEC_VER="3.1.9"; PARSEC_VER_REGEXP="[3]\.[01]\."
211+
PARSEC_VER="3.1.11"; PARSEC_VER_REGEXP="[3]\.[01]\."
212212
# >= 3.0 && < 3.2
213-
DEEPSEQ_VER="1.4.2.0"; DEEPSEQ_VER_REGEXP="1\.[1-9]\."
213+
DEEPSEQ_VER="1.4.3.0"; DEEPSEQ_VER_REGEXP="1\.[1-9]\."
214214
# >= 1.1 && < 2
215215

216216
case "$GHC_VER" in
@@ -221,30 +221,30 @@ case "$GHC_VER" in
221221
;;
222222
*)
223223
# GHC >= 7.8
224-
BINARY_VER="0.8.3.0"
224+
BINARY_VER="0.8.5.1"
225225
BINARY_VER_REGEXP="[0]\.[78]\." # >= 0.7 && < 0.9
226226
;;
227227
esac
228228

229229

230-
TEXT_VER="1.2.2.1"; TEXT_VER_REGEXP="((1\.[012]\.)|(0\.([2-9]|(1[0-1]))\.))"
230+
TEXT_VER="1.2.2.2"; TEXT_VER_REGEXP="((1\.[012]\.)|(0\.([2-9]|(1[0-1]))\.))"
231231
# >= 0.2 && < 1.3
232-
NETWORK_VER="2.6.3.1"; NETWORK_VER_REGEXP="2\.[0-6]\."
232+
NETWORK_VER="2.6.3.2"; NETWORK_VER_REGEXP="2\.[0-6]\."
233233
# >= 2.0 && < 2.7
234234
NETWORK_URI_VER="2.6.1.0"; NETWORK_URI_VER_REGEXP="2\.6\."
235235
# >= 2.6 && < 2.7
236-
CABAL_VER="2.0.0.0"; CABAL_VER_REGEXP="2\.0\.[0-9]"
236+
CABAL_VER="2.0.0.2"; CABAL_VER_REGEXP="2\.0\.[0-9]"
237237
# >= 2.0 && < 2.1
238-
TRANS_VER="0.5.2.0"; TRANS_VER_REGEXP="0\.[45]\."
238+
TRANS_VER="0.5.4.0"; TRANS_VER_REGEXP="0\.[45]\."
239239
# >= 0.2.* && < 0.6
240240
MTL_VER="2.2.1"; MTL_VER_REGEXP="[2]\."
241241
# >= 2.0 && < 3
242242
HTTP_VER="4000.3.7"; HTTP_VER_REGEXP="4000\.(2\.([5-9]|1[0-9]|2[0-9])|3\.?)"
243243
# >= 4000.2.5 < 4000.4
244244
ZLIB_VER="0.6.1.2"; ZLIB_VER_REGEXP="(0\.5\.([3-9]|1[0-9])|0\.6)"
245245
# >= 0.5.3 && <= 0.7
246-
TIME_VER="1.7" TIME_VER_REGEXP="1\.[1-7]\.?"
247-
# >= 1.1 && < 1.8
246+
TIME_VER="1.8.0.2" TIME_VER_REGEXP="1\.[1-8]\.?"
247+
# >= 1.1 && < 1.9
248248
RANDOM_VER="1.1" RANDOM_VER_REGEXP="1\.[01]\.?"
249249
# >= 1 && < 1.2
250250
STM_VER="2.4.4.1"; STM_VER_REGEXP="2\."
@@ -274,7 +274,7 @@ HACKAGE_SECURITY_VER="0.5.2.2"; HACKAGE_SECURITY_VER_REGEXP="0\.5\.(2\.[2-9]|[3-
274274
BYTESTRING_BUILDER_VER="0.10.8.1.0"; BYTESTRING_BUILDER_VER_REGEXP="0\.10\.?"
275275
TAR_VER="0.5.0.3"; TAR_VER_REGEXP="0\.5\.([1-9]|1[0-9]|0\.[3-9]|0\.1[0-9])\.?"
276276
# >= 0.5.0.3 && < 0.6
277-
HASHABLE_VER="1.2.6.0"; HASHABLE_VER_REGEXP="1\."
277+
HASHABLE_VER="1.2.6.1"; HASHABLE_VER_REGEXP="1\."
278278
# 1.*
279279

280280
HACKAGE_URL="https://hackage.haskell.org/package"

cabal-install/changelog

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-*-change-log-*-
22

3-
2.0.0.0 Ryan Thomas <ryan@ryant.org> May 2017
3+
2.0.0.0 Ryan Thomas <ryan@ryant.org> July 2017
44
* Removed the '--root-cmd' parameter of the 'install' command
55
(#3356).
66
* Deprecated 'cabal install --global' (#3356).

cabal-testsuite/cabal-testsuite.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cabal-testsuite
2-
version: 2.0.0.0
2+
version: 2.0.0.2
33
copyright: 2003-2017, Cabal Development Team (see AUTHORS file)
44
license: BSD3
55
license-file: LICENSE

travis-common.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
set -e
22

33
HACKAGE_REPO_TOOL_VERSION="0.1.1"
4-
CABAL_VERSION="2.0.0.0"
4+
CABAL_VERSION="2.0.0.2"
5+
CABAL_INSTALL_VERSION="2.0.0.0"
56

67
CABAL_STORE_DB="${HOME}/.cabal/store/ghc-${GHCVER}/package.db"
78
CABAL_LOCAL_DB="${TRAVIS_BUILD_DIR}/dist-newstyle/packagedb/ghc-${GHCVER}"
89
CABAL_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/Cabal-${CABAL_VERSION}"
910
CABAL_TESTSUITE_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/cabal-testsuite-${CABAL_VERSION}"
10-
CABAL_INSTALL_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/cabal-install-${CABAL_VERSION}"
11+
CABAL_INSTALL_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/cabal-install-${CABAL_INSTALL_VERSION}"
1112
CABAL_INSTALL_SETUP="${CABAL_INSTALL_BDIR}/setup/setup"
1213
HACKAGE_REPO_TOOL_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/hackage-repo-tool-${HACKAGE_REPO_TOOL_VERSION}"
1314

travis-deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ deploy() {
88
(cd cabal-website && git checkout --track -b gh-pages origin/gh-pages)
99
rm -rf cabal-website/doc
1010
mkdir -p cabal-website/doc/html
11-
mv dist-newstyle/build/Cabal-2.0.0.0/doc/html/Cabal \
11+
mv dist-newstyle/build/Cabal-2.0.0.2/doc/html/Cabal \
1212
cabal-website/doc/html/Cabal
1313
(cd cabal-website && git add --all .)
1414
(cd cabal-website && \

0 commit comments

Comments
 (0)