void-packages/srcpkgs/debug-me/patches/ghc86.patch
q66 4e4e9c260d debug-me: update to 1.20181208 and bump stackage
Also fix lint and add patch to compile with current ghc.

[ci skip]
2019-08-07 10:42:10 +02:00

11 lines
629 B
Diff

--- Role/User.hs
+++ Role/User.hs
@@ -247,7 +247,7 @@ getDeveloperMessage ichan ochan us now = maybe
getDeveloperMessage' :: MissingHashes (Message Entered) -> TMChan (Message Seen) -> TVar UserState -> POSIXTime -> STM Input
getDeveloperMessage' (MissingHashes wiremsg) ochan us now = do
st <- readTVar us
- Developer msg <- restoreHashes (userStateRecentActivity us) (MissingHashes (Developer wiremsg))
+ ~(Developer msg) <- restoreHashes (userStateRecentActivity us) (MissingHashes (Developer wiremsg))
case msg of
ControlMessage (Control (SessionKey spk _) _) -> do
let sigverifier = mkSigVerifier $ case spk of