In the dependencies for syb-0.7.2.3:
tasty dependency cycle detected: tasty, syb, doctest, prettyprinter-ansi-terminal,
optparse-applicative, tasty, STMonadTrans, Agda
needed since syb is a build target.
cc @serras
Building library for monad-primitive-0.1..
[1 of 2] Compiling Control.Monad.Primitive.Class
/var/stackage/work/unpack-dir/unpacked/monad-primitive-0.1-a4b14d3951c8e79aba5b9b395c187cce18e479d6aa71e4ebf01bd3eca6ed1212/C
ontrol/Monad/Primitive/Class.hs:21:1: error:
Could not find module ‘Control.Monad.Trans.Error’
Perhaps you meant
Control.Monad.Trans.Free (needs flag -package-id free-5.2)
Control.Monad.Trans.Iter (needs flag -package-id free-5.2)
Control.Monad.Trans.Either (needs flag -package-id transformers-either-0.1.4)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
21 | import Control.Monad.Trans.Error (ErrorT,Error)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cc @aycanirican @unprolix @greydot
(no current issue tracker)
Building library for hdaemonize-0.5.6..
[1 of 1] Compiling System.Posix.Daemonize
/var/stackage/work/unpack-dir/unpacked/hdaemonize-0.5.6-a68167e6476ad268d01284686b1700451791a16aa31722433071fa5124b60686/Syst
em/Posix/Daemonize.hs:292:16: error: [GHC-83865]
• Couldn't match expected type: OpenFileFlags -> IO Fd
with actual type: IO Fd
• The function ‘openFd’ is applied to four value arguments,
but its type ‘FilePath -> OpenMode -> OpenFileFlags -> IO Fd’
has only three
In a stmt of a 'do' block:
null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
In the expression:
do null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
let sendTo fd' fd = closeFd fd >> dupTo fd' fd
mapM_ (sendTo null) [stdInput, stdOutput, ....]
|
292 | do null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/var/stackage/work/unpack-dir/unpacked/hdaemonize-0.5.6-a68167e6476ad268d01284686b1700451791a16aa31722433071fa5124b60686/Syst
em/Posix/Daemonize.hs:292:45: error: [GHC-83865]
• Couldn't match expected type ‘OpenFileFlags’
with actual type ‘Maybe a0’
• In the third argument of ‘openFd’, namely ‘Nothing’
In a stmt of a 'do' block:
null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
In the expression:
do null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
let sendTo fd' fd = closeFd fd >> dupTo fd' fd
mapM_ (sendTo null) [stdInput, stdOutput, ....]
|
292 | do null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags
| ^^^^^^^