Fix build with persistent-2.12.0.1

persistent stopped using askLogFunc, and the thing to use is askLoggerIO
from monad-logger. Bumped the dep to the first version that contained that.

Note that the i386ancient build uses a newer monad-logger than 0.3.10,
so the new versioned dep should not break it, and presumably nothing else
either.

This commit was sponsored by Noam Kremen on Patreon.
This commit is contained in:
Joey Hess 2021-04-01 12:19:47 -04:00
parent 4dde355c79
commit 8868a3a4c7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 26 additions and 4 deletions

View file

@ -28,3 +28,5 @@ macOS 10.15.7
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
git-annex has been great helping us "version control" a myriad of LARGE binary assets (from VM and FS snapshots, to archives, to deliverable content)
> [[fixed|done]] --[[Joey]]

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2021-04-01T16:04:56Z"
content="""
A quick fix is to pin the haskell library persistent to a version older
than 2.12.0.1, which is the new version that broke the build. An easy way
to do that is to build using stack, which automatically pins all library
dependencies to known-working versions. By building with cabal you
choose to help me learn about new breakage the hard way, which is
appreciated if it is your intent. ;)
I've fixed this in master.
"""]]