Forwarding my reply since I accidentally didn't include the mailing list.
-------- Forwarded Message --------
Subject: Re: Inheriting from freetype results in "unbound variable"
error, but freetype is definitely bound
Date: Tue, 28 Apr 2026 17:49:33 +0100
From: Daniel Littlewood <[email protected]>
To: Ludovic Courtès <[email protected]>
Hi Ludo, thanks for your reply.
I guess the reason this didn't crash before is that the inputs fields
are thunked, so loading fontutils does not happen until some later time
(whenever the field is accessed?). Does it follow that defining packages
inside of packages like this is a bad practice, and it would be an
improvement to move the inlined packages to be colocated with the
packages they are derived from?
In this case that would require making the inlined packages public,
which I am not sure is desired. Currently they are only used by the
package I'm trying to refactor, and I assume it was reviewed on that
basis. Maybe it's fine, I don't know what the general policy on having
package variants is (I assume you'd want to have as few as possible, but
that still leaves room for interpretation).
Best wishes,
Dan