taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") skribis:
> Actually, I hit the problem again now; it's during the compilation of > .scm files. > > The problem seems to be that 'inherit' fields of packages are evaluated > eagerly, so when video.scm directly or indirectly imports gl.scm before > having bound the libva variable to its value, and the libva-without-mesa > definition in gl.scm tries to reference libva, it errors. > > I can solve this by wrapping the libva-without-mesa definition in a > delay, and forcing it in the input field of mesa. Is that OK? Yes, indeed, the solution in such cases is to use a promise or a thunk, or to have the two definitions in the same file. Thanks, Ludo’.