git-annex.cabal: Prevent building with unix-compat 0.7

Which removed System.PosixCompat.User.
See https://github.com/haskell-pkg-janitors/unix-compat/issues/3

Sponsored-by: Noam Kremen on Patreon
This commit is contained in:
Joey Hess 2023-03-31 12:52:23 -04:00
parent eb51b385a0
commit 2b40fa51d3
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 21 additions and 2 deletions

View file

@ -1,3 +1,10 @@
git-annex (10.20230330) UNRELEASED; urgency=medium
* git-annex.cabal: Prevent building with unix-compat 0.7 which
removed System.PosixCompat.User.
-- Joey Hess <id@joeyh.name> Fri, 31 Mar 2023 12:48:54 -0400
git-annex (10.20230329) upstream; urgency=medium git-annex (10.20230329) upstream; urgency=medium
* sync: Fix parsing of gcrypt::rsync:// urls that use a relative path. * sync: Fix parsing of gcrypt::rsync:// urls that use a relative path.

View file

@ -56,3 +56,5 @@ Sorry, I'm not a git-annex user. I'm a maintainer of the Homebrew package
manager, and I help to make the newest git-annex available to our users. manager, and I help to make the newest git-annex available to our users.
Thanks for all your work maintaining git-annex! Thanks for all your work maintaining git-annex!
> [[fixed|done]] by avoiding the broken version --[[Joey]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2023-03-31T16:50:28Z"
content="""
Unfortunately pinning to 0.6 is the only solution, I cannot work around
this ill-considered change in git-annex. I have opened an issue and hope
the maintainers reconsider.
<https://github.com/haskell-pkg-janitors/unix-compat/issues/3>
"""]]

View file

@ -294,7 +294,7 @@ source-repository head
location: git://git-annex.branchable.com/ location: git://git-annex.branchable.com/
custom-setup custom-setup
Setup-Depends: base (>= 4.11.1.0 && < 5.0), split, unix-compat, Setup-Depends: base (>= 4.11.1.0 && < 5.0), split, unix-compat (< 0.7),
filepath, exceptions, bytestring, IfElse, data-default, filepath, exceptions, bytestring, IfElse, data-default,
filepath-bytestring (>= 1.4.2.1.4), filepath-bytestring (>= 1.4.2.1.4),
process (>= 1.6.3), process (>= 1.6.3),
@ -318,7 +318,7 @@ Executable git-annex
case-insensitive, case-insensitive,
random, random,
dlist, dlist,
unix-compat (>= 0.5), unix-compat (>= 0.5 && < 0.7),
SafeSemaphore, SafeSemaphore,
async, async,
directory (>= 1.2.7.0), directory (>= 1.2.7.0),