* Look for the current OpenGL driver in /var/state/opengl-driver.
svn path=/nixpkgs/trunk/; revision=8068
This commit is contained in:
parent
4788912bde
commit
213aefac17
@ -6,6 +6,10 @@ if test -z "$OPENGL_DRIVER"; then
|
|||||||
if test -d "$profile/lib"; then
|
if test -d "$profile/lib"; then
|
||||||
OPENGL_DRIVER=$profile
|
OPENGL_DRIVER=$profile
|
||||||
fi
|
fi
|
||||||
|
# OpenGL driver for current X server on NixOS.
|
||||||
|
if test -d /var/state/opengl-driver; then
|
||||||
|
OPENGL_DRIVER=/var/state/opengl-driver
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -z "$OPENGL_DRIVER"; then
|
if test -z "$OPENGL_DRIVER"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user