Skip to content

Commit

Permalink
git-annex.cabal: Prevent building with unix-compat 0.7
Browse files Browse the repository at this point in the history
Which removed System.PosixCompat.User.
See haskell-pkg-janitors/unix-compat#3

Sponsored-by: Noam Kremen on Patreon
  • Loading branch information
joeyh committed Mar 31, 2023
1 parent eb51b38 commit 2b40fa5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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

* sync: Fix parsing of gcrypt::rsync:// urls that use a relative path.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Thanks for all your work maintaining git-annex!

> [[fixed|done]] by avoiding the broken version --[[Joey]]
Original file line number Diff line number Diff line change
@@ -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>
"""]]
4 changes: 2 additions & 2 deletions git-annex.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ source-repository head
location: git://git-annex.branchable.com/

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-bytestring (>= 1.4.2.1.4),
process (>= 1.6.3),
Expand All @@ -318,7 +318,7 @@ Executable git-annex
case-insensitive,
random,
dlist,
unix-compat (>= 0.5),
unix-compat (>= 0.5 && < 0.7),
SafeSemaphore,
async,
directory (>= 1.2.7.0),
Expand Down

0 comments on commit 2b40fa5

Please sign in to comment.