fix "libc}/lib" and similar references

Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
This commit is contained in:
Vladimír Čunát
2015-05-05 11:52:08 +02:00
parent b7c3c25218
commit 3b9ef2c71b
81 changed files with 156 additions and 156 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
mkdir -pv $out/res
cp -r * $out/res
patchelf --set-interpreter ${glibc}/lib/ld-linux.so.2 \
patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \
--set-rpath ${stdenv.cc.cc}/lib:${libX11}/lib:${mesa}/lib \
"$out/res/Tibia"
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
cat << EOF > "$out/bin/Tibia"
#!${stdenv.shell}
cd $out/res
${glibc}/lib/ld-linux.so.2 --library-path \$LD_LIBRARY_PATH ./Tibia "\$@"
${glibc.out}/lib/ld-linux.so.2 --library-path \$LD_LIBRARY_PATH ./Tibia "\$@"
EOF
chmod +x $out/bin/Tibia