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

Vladimír Čunát vcunat at gmail.com
Wed May 28 21:50:13 CEST 2014


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140528/ac7080b8/attachment-0001.bin 


More information about the nix-dev mailing list