Build with silently-1.2.5.1 on Windows; the old one used "NUL" which is not supported with recent versions of ghc.

This commit is contained in:
Joey Hess 2019-08-07 17:42:16 -04:00
parent ec64a08b2b
commit 3adc251f9d
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 19 additions and 1 deletions

View file

@ -13,6 +13,8 @@ git-annex (7.20190731) UNRELEASED; urgency=medium
newlines.
* Windows installer: Always install to 64 bit program files directory,
since it needs 64 bit git now.
* Build with silently-1.2.5.1 on Windows; the old one used "NUL" which
is not supported with recent versions of ghc.
-- Joey Hess <id@joeyh.name> Thu, 01 Aug 2019 00:11:56 -0400

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2019-08-07T21:20:58Z"
content="""
Tracked it back to runSqliteInfo. Both that and runSqlite use NUL
somewhere.
So the bug is in persistent-sqlite, or one of its dependencies.
Aha! silently-1.2.5, used by persistent in runMigrationSilent,
and it's already been fixed in a point release. I've bumped the dependency,
hopefully that will fix this.
"""]]

View file

@ -393,7 +393,8 @@ Executable git-annex
Win32 (>= 2.6.1.0),
unix-compat (>= 0.5),
setenv,
process (>= 1.6.2.0)
silently (>= 1.2.5.1)
process (>= 1.6.2.0),
else
Build-Depends: unix (>= 2.7.2)

View file

@ -23,6 +23,7 @@ extra-deps:
- torrent-10000.1.1
- sandi-0.5
- http-client-0.5.14
- silently-1.2.5.1
explicit-setup-deps:
git-annex: true
resolver: lts-13.29