[Nix-dev] implementation specific dependencies

Lluís Batlle i Rossell viric at viric.name
Fri Jan 18 00:00:50 CET 2013

On Thu, Jan 17, 2013 at 01:42:03PM -0900, Christopher Howard wrote:
> Hi. This is an educational question. I've been using nix pm for a few days
> now, but all the packages I have been using are command-line, or simpler
> graphics apps like emacs. I am curious: how does the nix approach (exact
> dependencies of each package never change) handle stuff like opengl, which
> is a dependency of a lot of software, but is expected to be implemented
> differently on each computer system. (In this case, depending on what
> graphics card and drivers you use.)

Hello Christopher,

All is linked to mesa, which has a bunch of drivers. But a LD_LIBRARY_PATH set
on X start allows to override it with things like the nvidia gl drivers, which mainly
implement their own mesa-like API shared objects.


More information about the nix-dev mailing list