lambdanative icon indicating copy to clipboard operation
lambdanative copied to clipboard

Add support for libmagic.

Open 0-8-15 opened this issue 6 years ago • 2 comments

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.

0-8-15 avatar Jul 13 '19 12:07 0-8-15

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.

0-8-15 avatar Jul 13 '19 13:07 0-8-15

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.

mgorges avatar Jul 15 '19 22:07 mgorges