lambdanative
lambdanative copied to clipboard
Add support for libmagic.
Not sure that this is the best implementation to use. I just needed any.
TODO: Figure out how to rename the file upon package_download. The basename "5.18.tar.gz" appears meaningless and may conflict.
It would be a good idea if the magic module would make sure the file installed under $SYS_PREFIX/etc/magic.mgc was embedded in the executable and found as the default for magic-load. I just did not yet understand how that would be done.
Embedding of files can be done with the EMBED functionality, but I don't think this works for any path outside the app or module directory, as that is not what apps/packtool/main.scm does.