nixpkgs/pkgs/os-specific/linux/opengl/xorg-sys/default.nix
Wouter den Breejen 5200276c3b nixpkgs dir: nvidia and libsrvg
svn path=/nixpkgs/trunk/; revision=8785
2007-05-28 14:10:46 +00:00

17 lines
521 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, libdrm}:
stdenv.mkDerivation {
name = "xorg-sys-opengl-2";
builder = ./builder.sh;
neededLibs = [xlibs.libXxf86vm xlibs.libXext expat libdrm];
}