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