refactor(3p/mime4cl): use SB-POSIX for FILE-LENGTH

This is slightly better than the (mostly untested) mess we had before:
Just implement the one thing we need using the tools the one
implementation we support (SBCL) gives us.

Eventually, we'll want to make this portable, probably using osicat.
Unfortunately, packaging this requires support for cffi-grovel (b/383)
which buildLisp lacks at the moment.

Change-Id: I6960015f80e6a5dfde67baf55537c5274a19e4e2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11356
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
This commit is contained in:
sterni 2024-04-03 15:55:22 +02:00 committed by clbot
parent d13b0791c5
commit 5262e5bf6c
2 changed files with 5 additions and 43 deletions

View file

@ -10,6 +10,7 @@ depot.nix.buildLisp.library {
depot.third_party.lisp.npg
depot.third_party.lisp.trivial-gray-streams
depot.third_party.lisp.qbase64
{ sbcl = depot.nix.buildLisp.bundled "sb-posix"; }
];
srcs = [