yesodweb / persistent

Persistence interface for Haskell allowing multiple storage methods.
MIT License
465 stars 294 forks source link

`mysql-simple-0.4.7` incompatible with resolver #1455

Open njohnwalker opened 1 year ago

njohnwalker commented 1 year ago

while I was hacking #1452 I ran into trouble with stack and the declared version of mysql-simple. bumping the version to mysql-simple-0.4.9 (after the date-time-compat api changed) worked for me, but I am not a stack-knower, so please take this with a grain of salt 😅

mysql-simple                 > [2 of 7] Compiling Database.MySQL.Simple.Result                                              
mysql-simple                 >                                                                                              
mysql-simple                 > /private/var/folders/g5/vgktf29n6fjg5plbfd1z4hf80000gn/T/stack-83083d0fb37532fc/mysql-simple-0.4.7/Database/MySQL/Simple/Result.hs:42:26: error:
mysql-simple                 >     Module ‘Data.Time.Format’ does not export ‘parseTime’                                    
mysql-simple                 >    |                                                                                         
mysql-simple                 > 42 | import Data.Time.Format (parseTime)                                                     
mysql-simple                 >    |                          ^^^^^^^^^                  
parsonsmatt commented 1 year ago

Thanks for the report! Bumping stack.yaml to the newest nightly resolver is probably the right answer.