We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d58821 commit 68f5a5dCopy full SHA for 68f5a5d
hnix-store-remote/src/System/Nix/Store/Remote/Protocol.hs
@@ -157,7 +157,7 @@ runStore code = do
157
sockPut $ putInt workerMagic1
158
soc <- ask
159
vermagic <- liftIO $ recv soc 16
160
- let (magic2, daemonProtoVersion) = flip runGet (LBS.fromStrict vermagic) $ (,) <$> getInt <*> getInt
+ let (magic2, _daemonProtoVersion) = flip runGet (LBS.fromStrict vermagic) $ (,) <$> (getInt :: Get Int) <*> (getInt :: Get Int)
161
unless (magic2 == workerMagic2) $ error "Worker magic 2 mismatch"
162
163
sockPut $ putInt protoVersion -- clientVersion
0 commit comments