ndmitchell / ghcid

Very low feature GHCi based IDE
Other
1.13k stars 114 forks source link

fsnotify 0.4.0 release breaks building ghcid #365

Closed codygman closed 2 years ago

codygman commented 2 years ago

It needs bounds but currently has none:

https://github.com/ndmitchell/ghcid/blob/abbb157ac9d06fdfba537f97ab96e197b3bb36cb/ghcid.cabal#L58

Reason for break from fsnotify changelog:

WatchConfig constructor is no longer exposed. Instead use defaultConfig {...} with the accessors.

Error message:

src/Wait.hs:32:52: error: Not in scope: ‘confDebounce’
   |
32 | withWaiterNotify f = withManagerConf defaultConfig{confDebounce=NoDebounce} $ \manager -> do
   |                                                    ^^^^^^^^^^^^
Error: cabal: Failed to build exe:ghcid from ghcid-0.8.7. See the build log
above for details.
ndmitchell commented 2 years ago

Thanks - fixed in v0.8.8 and I added an upper bound in 0.8.7 as a Hackage edit