On Fri, 1 May 2026, Tom Ellis wrote:
On Fri, May 01, 2026 at 04:53:33PM +0200, Henning Thielemann wrote:
Ok great, I tried and now I get an error from tar-conduit:
zip2tar-bluefin: Uncaught exception tar-conduit-0.4.1-3860201d51f91b125377913a0184ee22827a51e5a78eec1b1230907a77ca3cf7:Data.Conduit.Tar.Types.TarCreateException:
TarCreationError "<tarPayload>: Too much payload (32752) for file with size (412): avmedia/res/av02048.png"
HasCallStack backtrace: throwIO, called at ./Control/Concurrent/Async/Internal.hs:667:24 in async-2.2.6-d55fde70b8a48643acd98dd03fa271c8842e964017add43e3365c491d02ab733:Control.Concurrent.Async.Internal
Thanks for trying it. Do you have some code you can share that shows how to plug it all together into an executable? In particular, I'm not sure what I should use for the argument of type:
Zip.EntrySelector -> Zip.EntryDescription -> CTar.FileInfo
This is fileInfoFromZipEntry [3] after applying it to the options userName userId groupName groupId attrSrc. For simplicity you can call it with default values: fileInfoFromZipEntry mempty 0 mempty 0 AttributeWindows [3] https://hackage-content.haskell.org/package/zip2tar-0.0/src/src/Main.hs