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

15 lines
267 B
Bash

source $stdenv/setup
ensureDir $out/lib
ln -s /usr/lib/libGL.so.1 $out/lib/
ln -s /usr/lib/libGLcore.so.1 $out/lib/
ln -s /usr/lib/libnvidia-tls.so.1 $out/lib/
#ln -s /usr/lib/libdrm.so.2 $out/lib/
for i in $neededLibs; do
ln -s $i/lib/*.so* $out/lib/
done