haskell-fswatch / hfsnotify

Unified Haskell interface for basic file system notifications
BSD 3-Clause "New" or "Revised" License
136 stars 40 forks source link

Build failure on windows for fsnotify-0.4.0.1 #109

Closed AndreasPK closed 1 year ago

AndreasPK commented 1 year ago

I'm seeing:

Building library for fsnotify-0.4.0.1..
[ 1 of 10] Compiling System.FSNotify.Find ( src\System\FSNotify\Find.hs, dist\build\System\FSNotify\Find.o )
[ 2 of 10] Compiling System.FSNotify.Path ( src\System\FSNotify\Path.hs, dist\build\System\FSNotify\Path.o )
[ 3 of 10] Compiling System.FSNotify.Types ( src\System\FSNotify\Types.hs, dist\build\System\FSNotify\Types.o )
[ 4 of 10] Compiling System.FSNotify.Listener ( src\System\FSNotify\Listener.hs, dist\build\System\FSNotify\Listener.o )
[ 5 of 10] Compiling System.FSNotify.Polling ( src\System\FSNotify\Polling.hs, dist\build\System\FSNotify\Polling.o )
[ 6 of 10] Compiling System.FSNotify  ( src\System\FSNotify.hs, dist\build\System\FSNotify.o )

src\System\FSNotify.hs:169:34: error:
    Not in scope: type constructor or class `NativeManager'
    |
169 |     createManager :: Either Text NativeManager -> IO WatchManager
    |                                  ^^^^^^^^^^^^^
Error: cabal.exe: Failed to build fsnotify-0.4.0.1 (which is required by
exe:animation from animation-0.1.0.0). See the build log above for details.

Seems to be fixed in the repo when I clone and build from source, perhaps a new release could be published and the broken version deprecated.

thomasjm commented 1 year ago

Just released the latest at 0.4.1.0.