Skip to content

Commit 4e7fe8c

Browse files
committed
Support tar-0.7
Closes #330
1 parent 5a5b7cc commit 4e7fe8c

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

hackage-repo-tool/hackage-repo-tool.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ executable hackage-repo-tool
7373
build-depends: microlens >= 0.4.9.1 && < 0.5,
7474
-- microlens-0.4.9.1 is the version in Stackage LTS-12.26 (GHC 8.4)
7575
optparse-applicative >= 0.13 && < 0.20,
76-
tar >= 0.5 && < 0.7,
76+
tar >= 0.5 && < 0.8,
7777
zlib >= 0.6 && < 0.8,
7878
hackage-security >= 0.6 && < 0.7
7979

hackage-security/hackage-security.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ library
123123
pretty >= 1.0 && < 1.2,
124124
-- 0.4.2 introduces TarIndex, 0.4.4 introduces more
125125
-- functionality, 0.5.0 changes type of serialise
126-
tar >= 0.5 && < 0.7,
126+
tar >= 0.5 && < 0.8,
127127
template-haskell >= 2.13 && < 2.25,
128128
time >= 1.8.0.2 && < 1.16,
129129
transformers >= 0.3 && < 0.7,

hackage-security/tests/TestSuite.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,10 @@ testRepoIndex inMemRepo repo = do
264264
_ -> fail "unexpected index entry content"
265265
_ -> fail "unexpected index path"
266266

267-
#if MIN_VERSION_tar(0,6,0)
267+
268+
#if MIN_VERSION_tar(0,7,0)
269+
testEntries1 :: [Tar.GenEntry BS.ByteString Tar.TarPath linkTarget]
270+
#elif MIN_VERSION_tar(0,6,0)
268271
testEntries1 :: [Tar.GenEntry Tar.TarPath linkTarget]
269272
#else
270273
testEntries1 :: [Tar.Entry]

precompute-fileinfo/precompute-fileinfo.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ executable precompute-fileinfo
3737
filepath >= 1.4.2 && < 1.6,
3838
optparse-applicative >= 0.13 && < 0.20,
3939
SHA >= 1.6.4 && < 1.7,
40-
tar >= 0.5.0.2 && < 0.7,
40+
tar >= 0.5.0.2 && < 0.8,
4141
-- tar-0.5.0.2 is the version in Stackage LTS-12.26 (GHC 8.4)
4242
zlib >= 0.6.2 && < 0.8
4343
-- zlib-0.6.2 is the version in Stackage LTS-12.26 (GHC 8.4)

0 commit comments

Comments
 (0)