[Nix-dev] root OpenGL: 1.4/2.1.2; user OpenGL 4.4

Kirill Elagin kirelagin at gmail.com
Thu May 29 00:14:36 CEST 2014


https://github.com/NixOS/nixpkgs/pull/2692

+ fix modules/hardware/opengl.nix:104


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


On Wed, May 28, 2014 at 11:50 PM, Vladimír Čunát <vcunat at gmail.com> wrote:

> On 05/28/2014 09:17 PM, Mateusz Kowalczyk wrote:
>
>> The difference seems that on my user, LD_LIBRARY_PATH is set to
>> /run/opengl-… while on root it is not set at all. I don't know why this
>> is however or where it is being set so I'd still love an answer to this
>> part.
>>
>
> The opengl nixos module adds these to environment.variables.LD_LIBRARY_PATH,
> which gets transformed by shells-environment.nix into the
> system.build.setEnvironment script, which is sourced inside /etc/profile
>
> I'm always confused what gets sourced by login shells and what by
> interactive shells (and maybe some other option?).
>
> Vlada
>
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140529/1161879e/attachment.html 


More information about the nix-dev mailing list