brandonchinn178 / aeson-schemas

Easily consume JSON data on-demand with type-safety
http://hackage.haskell.org/package/aeson-schemas
BSD 3-Clause "New" or "Revised" License
53 stars 1 forks source link

fails to build with aeson-2.2? #93

Closed juhp closed 9 months ago

juhp commented 9 months ago

For Stackage Nightly

       /home/curators/work/unpack-dir/unpacked/aeson-schemas-1.4.2.0-fc3271e9dbf1b79552f89b6538d5581ed110a857d0ed3db972877bd8e6f2638
2/bench/Utils/DeepSeq.hs:16:10: error: [GHC-39999]                                                                                  
           • No instance for ‘NFData BndrVis’                                                                                       
               arising from a use of ‘Control.DeepSeq.$dmrnf’                                                                       
           • In the expression: Control.DeepSeq.$dmrnf @(Dec)                                                                       
             In an equation for ‘rnf’: rnf = Control.DeepSeq.$dmrnf @(Dec)                                                          
             In the instance declaration for ‘NFData Dec’                                                                           
          |                                                                                                                         
       16 | instance NFData Dec                                                                                                     
          |          ^^^^^^^^^^                                                                                                     

       /home/curators/work/unpack-dir/unpacked/aeson-schemas-1.4.2.0-fc3271e9dbf1b79552f89b6538d5581ed110a857d0ed3db972877bd8e6f2638
2/bench/Utils/DeepSeq.hs:51:10: error: [GHC-39999]                                                                                  
           • No instance for ‘NFData BndrVis’                                                                                       
               arising from a use of ‘Control.DeepSeq.$dmrnf’                                                                       
           • In the expression: Control.DeepSeq.$dmrnf @(TypeFamilyHead)                                                            
             In an equation for ‘rnf’:                                                                                              
                 rnf = Control.DeepSeq.$dmrnf @(TypeFamilyHead)                                                                     
             In the instance declaration for ‘NFData TypeFamilyHead’                                                                
          |                                                                                                                         
       51 | instance NFData TypeFamilyHead                                                                                          
          |          ^^^^^^^^^^^^^^^^^^^^^                                                                                          
brandonchinn178 commented 9 months ago

Fixed by #94