scotty-web / wai-middleware-static

WAI middleware that intercepts requests to static files and serves them if they exist.
Other
18 stars 12 forks source link

Dependency updates for ghc 7.10 #5

Closed DougBurke closed 9 years ago

DougBurke commented 9 years ago

This is not a complete fix, since with this change (and a manual update of expiring-cache-map to get it to build), I end up with

Network/Wai/Middleware/Static.hs:256:45:
    Ambiguous occurrence ‘defaultTimeLocale’
    It could refer to either ‘Data.Time.defaultTimeLocale’,
                             imported from ‘Data.Time’ at Network/Wai/Middleware/Static.hs:29:1-16
                             (and originally defined in ‘time-1.5.0.1:Data.Time.Format.Locale’)
                          or ‘System.Locale.defaultTimeLocale’,
                             imported from ‘System.Locale’ at Network/Wai/Middleware/Static.hs:35:1-20
DougBurke commented 9 years ago

I have an update for expiring-cache-map at elblake/expiring-cache-map#1

DougBurke commented 9 years ago

And the second commit deals with the defaultTimeLocale (and Data.Monoid) issues via CPP.

RyanGlScott commented 9 years ago

Thanks! Released on Hackage as wai-middleware-static-0.7.0.0.