> Any software such as ‘mpv’ that I put in my
> configuration.nix will think it's using OpenGL 1.4.
>
> This carries over to the user, where you'll see the similar output.
>
> What I have noticed in the past is that sometimes if I nix-env -i an
> existing piece of software on my user account, it will no longer think
> it's using OpenGL 1.4 and will behave properly. I had this happen with
> ‘mpv’ before but I can't currently replicate.

Either the description above is wrong or your patch doesn't fix that
behaviour as the quote suggests that something's really wrong is going on
and I can think only of one case fixed by your commit, that is running
OpenGL programs via `sudo`.


--
Кирилл Елагин


On Sun, Jun 15, 2014 at 9:19 PM, Vladimír Čunát <[email protected]> wrote:

> On 06/14/2014 04:22 AM, Mateusz Kowalczyk wrote:
>
>> I notice inconsistent behaviour between my root and user accounts when
>> it comes to OpenGL. [...]
>>
>
> Yes, LD_LIBRARY_PATH should be set for anyone who wants to use OpenGL.
> Otherwise you may get default mesa driver or none at all (depends on
> package).
>
> I pushed a commit to master, which should fix it.
> https://github.com/NixOS/nixpkgs/commit/de78327
>
>
> Vlada
>
>
>
> _______________________________________________
> nix-dev mailing list
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to