Skip to content

Commit 68f5a5d

Browse files
committed
add few type annotations to get rid of ghci errors
1 parent 4d58821 commit 68f5a5d

File tree

1 file changed

+1
-1
lines changed
  • hnix-store-remote/src/System/Nix/Store/Remote

1 file changed

+1
-1
lines changed

hnix-store-remote/src/System/Nix/Store/Remote/Protocol.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ runStore code = do
157157
sockPut $ putInt workerMagic1
158158
soc <- ask
159159
vermagic <- liftIO $ recv soc 16
160-
let (magic2, daemonProtoVersion) = flip runGet (LBS.fromStrict vermagic) $ (,) <$> getInt <*> getInt
160+
let (magic2, _daemonProtoVersion) = flip runGet (LBS.fromStrict vermagic) $ (,) <$> (getInt :: Get Int) <*> (getInt :: Get Int)
161161
unless (magic2 == workerMagic2) $ error "Worker magic 2 mismatch"
162162

163163
sockPut $ putInt protoVersion -- clientVersion

0 commit comments

Comments
 (0)