nixpkgs/pkgs/os-specific/linux/opengl/xorg-sys/default.nix
Eelco Dolstra 105150e281 * Added rss-glx, a collection of nice OpenGL screensavers.
svn path=/nixpkgs/trunk/; revision=4614
2006-01-28 02:10:26 +00:00

16 lines
503 B
Nix

# This is a very dirty hack to allow hardware acceleration of OpenGL
# applications for most (?) users. It will use the driver that your
# Linux distribution installed in /usr/lib/libGL.so.1. Hopefully,
# this driver uses hardware acceleration.
#
# Of course, use of the driver in /usr/lib is highly impure. But it
# might actually work ;-)
{stdenv, xlibs, expat}:
stdenv.mkDerivation {
name = "xorg-sys-opengl";
builder = ./builder.sh;
neededLibs = [xlibs.libXxf86vm xlibs.libXext expat];
}