Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New build failure when hsyslog updated #6

Closed
mihaimaruseac opened this issue May 13, 2017 · 0 comments
Closed

New build failure when hsyslog updated #6

mihaimaruseac opened this issue May 13, 2017 · 0 comments

Comments

@mihaimaruseac
Copy link

Found on nightly. Full log

[1 of 2] Compiling System.Log.MonadLogger.Syslog ( System/Log/MonadLogger/Syslog.hs, dist/build/System/Log/MonadLogger/Syslog.o )

System/Log/MonadLogger/Syslog.hs:63:5: error:
     Couldn't match expected type IO ()
                  with actual type Facility -> IO a0 -> IO a0
     In the expression:
        withSyslog defaultConfig
        $ \ syslog
            -> syslog
                 USER (levelToPriority level) (fromLogStr $ f l s level msg)
      In an equation for formattedSyslogOutput’:
          formattedSyslogOutput f l s level msg
            = withSyslog defaultConfig
              $ \ syslog
                  -> syslog
                       USER (levelToPriority level) (fromLogStr $ f l s level msg)

System/Log/MonadLogger/Syslog.hs:63:16: error:
    Variable not in scope: defaultConfig :: String

System/Log/MonadLogger/Syslog.hs:63:32: error:
     Couldn't match expected type [Option]
                  with actual type (t1
                                     -> Priority -> Data.ByteString.Internal.ByteString -> t0)
                                    -> t0
     The lambda expression ‘\ syslog
                               -> syslog
                                    USER (levelToPriority level) (fromLogStr $ f l s level msg)
      has one argument,
      but its type [Option] has none
      In the second argument of ($), namely
        ‘\ syslog
           -> syslog
                USER (levelToPriority level) (fromLogStr $ f l s level msg)
      In the expression:
        withSyslog defaultConfig
        $ \ syslog
            -> syslog
                 USER (levelToPriority level) (fromLogStr $ f l s level msg)

System/Log/MonadLogger/Syslog.hs:64:16: error:
    Data constructor not in scope: USER
mihaimaruseac added a commit to commercialhaskell/stackage that referenced this issue May 13, 2017
snoyberg added a commit to commercialhaskell/stackage that referenced this issue May 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant