kolmodin / hinotify

Haskell binding to inotify
Other
30 stars 19 forks source link

Fails on GHC 9.10.1 #38

Open stephen-smith opened 1 month ago

stephen-smith commented 1 month ago
$ ghcup set ghc 9.10.1
[ Info  ] GHC 9.10.1 successfully set as default version
$ echo System.INotify.initINotify | cabal repl --build-depends hinotify
Resolving dependencies...
Build profile: -w ghc-9.10.1 -O1
In order, the following will be built (use -v for more details):
 - fake-package-0 (interactive) (lib) (first run)
Configuring library for fake-package-0...
Warning: No exposed modules
GHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help
Loaded GHCi configuration from /tmp/cabal-repl.-6128/setcwd.ghci
ghci> *** Exception: fdType: unsupported operation (unknown file type)
ghci> Leaving GHCi.
$ ghcup set ghc 9.6.6
[ Info  ] GHC 9.6.6 successfully set as default version
$ echo System.INotify.initINotify | cabal repl --build-depends hinotify
Resolving dependencies...
Build profile: -w ghc-9.6.6 -O1
In order, the following will be built (use -v for more details):
 - fake-package-0 (interactive) (lib) (first run)
Configuring library for fake-package-0...
Warning: No exposed modules
GHCi, version 9.6.6: https://www.haskell.org/ghc/  :? for help
Loaded GHCi configuration from /tmp/cabal-repl.-6275/setcwd.ghci
ghci> <inotify fd=15>
ghci> Leaving GHCi.
stephen-smith commented 1 month ago

I tested 9.8.2 and it worked there, too.