Subject: bug#74532: [PATCH] gnu: guile-yamlpp: Allow usage with `with-extensions'

From: Ludovic Courtès <[email-masked]>
Date: Tue, 25 Mar 2025 11:10:26 +0100

Hi,

Tomas Volf <[email-masked]> skribis:

> Timo Wilken <[email-masked]> writes:

[...]

>> +                   (format #f "(or (false-if-exception (load-extension \"~a/lib/guile/3.0/libguile-yamlpp\"~a)) ~a)"
>> +                           (assoc-ref outputs "out") init all))))))))
>
> I am not sure it is optimal to hide *all* errors from load-extension.
> Maybe check if file exists and then try to load-extension it without the
> false-if-exception?

Or just unconditionally load from the absolute file name?  I don’t see
what the ‘or’ buys us.

Thanks,
Ludo’.