1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/opengl/xorg-sys/builder.sh

17 lines
307 B
Bash
Raw Normal View History

source $stdenv/setup
mkdir -p $out/lib
ln -s /usr/lib/libGL.so.1 $out/lib/
ln -s /usr/lib/libGLU.so.1 $out/lib/
ln -s /usr/lib/libGLcore.so.1 $out/lib/
ln -s /usr/lib/tls/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