Pierre Neidhardt skribis:

> Cool!  Thanks for working on this! :)
>
> Does it work for dexador?

I just tried compiling ecl-dexador, and it failed. However I think it
fails for a different reason.

The error is:

--8<---------------cut here---------------start------------->8---
An error occurred during initialization:
No MIME.TYPES file found anywhere!
--8<---------------cut here---------------end--------------->8---

I think it comes from the trivial-mimes library having a hard
reference to the 'sbcl-source' directory in a string:

--8<---------------cut here---------------start------------->8---
(arguments
 '(#:phases
   (modify-phases %standard-phases
     (add-after
         'unpack 'fix-paths
       (lambda* (#:key inputs #:allow-other-keys)
         (let ((anchor "#p\"/etc/mime.types\""))
           (substitute* "mime-types.lisp"
             ((anchor all)
              (string-append
               anchor "\n"
               "(asdf:system-relative-pathname :trivial-mimes 
\"../../share/common-lisp/sbcl-source/trivial-mimes/mime.types\")")))))))))
--8<---------------cut here---------------end--------------->8---

I guess in this case writing a 'fix-paths' phase with the path specific
to ECL in the ecl-trivial-mimes package will be necessary...

Reply via email to