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 5b66d53 + 6aca57f commit a63e522Copy full SHA for a63e522
hnix-store-core/src/System/Nix/Internal/Nar/Streamer.hs
@@ -98,7 +98,7 @@ streamNarIO effs basePath yield = do
98
-- Read, yield, and pad the file
99
yieldFile :: FilePath -> Int64 -> m ()
100
yieldFile path fsize = do
101
- mapM_ yield . Bytes.Lazy.toChunks =<< IO.liftIO (Bytes.Lazy.readFile path)
+ mapM_ yield . Bytes.Lazy.toChunks =<< IO.liftIO (Nar.narReadFile effs path)
102
yield $ Bytes.replicate (padLen $ fromIntegral fsize) 0
103
104
data IsExecutable = NonExecutable | Executable
0 commit comments