disable hdaemonize

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
           |                                             ^^^^^^^
This commit is contained in:
Jens Petersen 2023-06-22 13:57:24 +08:00
parent 35aa4e56fe
commit 7a21f7ac4b

View File

@ -1429,7 +1429,7 @@ packages:
- courier
"Aycan iRiCAN <iricanaycan@gmail.com> @aycanirican":
- hdaemonize
- hdaemonize < 0 # ghc-9.6
- hweblib
"Joachim Breitner <mail@joachim-breitner.de> @nomeata":