aboutsummaryrefslogtreecommitdiff
path: root/pkgs/games/tibia
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-08-23 00:04:39 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-08-23 00:04:39 +0300
commit51ad423716ec959aa6056660202e59a4b400ca4e (patch)
treec29cb4491c03cd10deb14823d8d7cb8e29f8f69a /pkgs/games/tibia
parentd559c07bbe1aa0be1662cdb5d697dcbac0f34b0a (diff)
treewide: Use makeLibraryPath in 'patchelf --set-rpath' calls
Diffstat (limited to 'pkgs/games/tibia')
-rw-r--r--pkgs/games/tibia/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/tibia/default.nix b/pkgs/games/tibia/default.nix
index 26b1f9c9da25..4ce5aa5cf107 100644
--- a/pkgs/games/tibia/default.nix
+++ b/pkgs/games/tibia/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
cp -r * $out/res
patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \
- --set-rpath ${stdenv.cc.cc.lib}/lib:${libX11}/lib:${mesa}/lib \
+ --set-rpath ${stdenv.lib.makeLibraryPath [ stdenv.cc.cc libX11 mesa ]} \
"$out/res/Tibia"
# We've patchelf'd the files. The main ‘Tibia’ binary is a bit