Le jeudi 20 octobre 2022 à 10:53 +0200, Maxime Devos a écrit :
>  If so, this is not exactly what I am looking for. I am looking for a
> > way to run the (date) form during the compilation phase, and save
> > the
> > date to the compilation unit so that it does not change. Is this
> > possible?
> 
> I don't know the answer, but for (bit-for-bit) reproducibility,
> please 
> support something like 
> <https://reproducible-builds.org/docs/source-date-epoch/>.

I have to confess, I lied to you. I’m not interested in the compilation
date. What I want is to encode the typelib path at compile time, so I
can tell guile-gi where to find the typelibs (including the recursive
pkg-config requirements). Now that I know how to do that, I don’t have
to propagate any inputs, and I don’t have to keep pkg-config around at
run-time (except if the compilation cache gets invalidated, but who
does that).

Reply via email to