fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / xo / xorg_sys_opengl / builder.sh
blobed2c60da2612114438fb2f7335ed5bf953949a03
1 if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
2 source $stdenv/setup
4 mkdir -p $out/lib
6 ln -s /usr/lib/libGL.so.1 $out/lib/
7 ln -s /usr/lib/libGLU.so.1 $out/lib/
8 ln -s /usr/lib/libGLcore.so.1 $out/lib/
9 ln -s /usr/lib/tls/libnvidia-tls.so.1 $out/lib/
10 #ln -s /usr/lib/libdrm.so.2 $out/lib/
12 for i in $neededLibs; do
13 ln -s $i/lib/*.so* $out/lib/
14 done