mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
c01f509e44
if theres a source $stdenv then this is needed for structuredAttrs
18 lines
354 B
Bash
18 lines
354 B
Bash
if [ -e .attrs.sh ]; then source .attrs.sh; fi
|
|
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
|
|
|
|
|
|
|