Configuring simple-sendfile-0.2.2...
Preprocessing library simple-sendfile-0.2.2...
Building simple-sendfile-0.2.2...
[1 of 3] Compiling Network.Sendfile.Types ( Network\Sendfile\Types.hs, dist\build\Network\Sendfile\Types.o )
[2 of 3] Compiling Network.Sendfile.Fallback ( Network\Sendfile\Fallback.hs, dist\build\Network\Sendfile\Fallback.o )
Network\Sendfile\Fallback.hs:26:33:
Couldn't match type m' withData.Conduit.Internal.Finalize m'
m' is a rigid type variable bound by the type signature for sinkSocket :: MonadResource m => Socket -> IO () -> Sink ByteString m () at Network\Sendfile\Fallback.hs:24:1 In the second argument ofPipeM', namely close'' In the expression: PipeM sendAndHook close' In an equation forpush':
push bs
= PipeM sendAndHook close'
where
sendAndHook
= do { liftIO (SB.sendAll s bs);
.... }
cabal: Error: some packages failed to install:
simple-sendfile-0.2.2 failed during the building phase. The exception was:
ExitFailure 1
Configuring simple-sendfile-0.2.2... Preprocessing library simple-sendfile-0.2.2... Building simple-sendfile-0.2.2... [1 of 3] Compiling Network.Sendfile.Types ( Network\Sendfile\Types.hs, dist\build\Network\Sendfile\Types.o ) [2 of 3] Compiling Network.Sendfile.Fallback ( Network\Sendfile\Fallback.hs, dist\build\Network\Sendfile\Fallback.o )
Network\Sendfile\Fallback.hs:26:33: Couldn't match type
m' with
Data.Conduit.Internal.Finalize m'm' is a rigid type variable bound by the type signature for sinkSocket :: MonadResource m => Socket -> IO () -> Sink ByteString m () at Network\Sendfile\Fallback.hs:24:1 In the second argument of
PipeM', namelyclose'' In the expression: PipeM sendAndHook close' In an equation for
push': push bs = PipeM sendAndHook close' where sendAndHook = do { liftIO (SB.sendAll s bs); .... } cabal: Error: some packages failed to install: simple-sendfile-0.2.2 failed during the building phase. The exception was: ExitFailure 1