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


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to