guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: mesa: Add libva input.


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: mesa: Add libva input.
Date: Fri, 01 May 2015 00:17:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]