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.
2 parents 696c839 + 47e9174 commit 5b66d53Copy full SHA for 5b66d53
hnix-store-core/src/System/Nix/Internal/Nar/Parser.hs
@@ -422,7 +422,7 @@ consume
422
consume 0 = pure ""
423
consume n = do
424
state0 <- State.get
425
- newBytes <- IO.liftIO $ Bytes.hGetSome (handle state0) (max 0 n)
+ newBytes <- IO.liftIO $ Bytes.hGet (handle state0) (max 0 n)
426
when (Bytes.length newBytes < n) $
427
Fail.fail $
428
"consume: Not enough bytes in handle. Wanted "
0 commit comments