summary refs log tree commit diff
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)
downloadnixpkgs-51ad423716ec959aa6056660202e59a4b400ca4e.tar
nixpkgs-51ad423716ec959aa6056660202e59a4b400ca4e.tar.gz
nixpkgs-51ad423716ec959aa6056660202e59a4b400ca4e.tar.bz2
nixpkgs-51ad423716ec959aa6056660202e59a4b400ca4e.tar.lz
nixpkgs-51ad423716ec959aa6056660202e59a4b400ca4e.tar.xz
nixpkgs-51ad423716ec959aa6056660202e59a4b400ca4e.tar.zst
nixpkgs-51ad423716ec959aa6056660202e59a4b400ca4e.zip
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 26b1f9c9da2..4ce5aa5cf10 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