diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-23 00:04:39 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-23 00:04:39 +0300 |
commit | 51ad423716ec959aa6056660202e59a4b400ca4e (patch) | |
tree | c29cb4491c03cd10deb14823d8d7cb8e29f8f69a /pkgs/games | |
parent | d559c07bbe1aa0be1662cdb5d697dcbac0f34b0a (diff) |
treewide: Use makeLibraryPath in 'patchelf --set-rpath' calls
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/tibia/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/tibia/default.nix b/pkgs/games/tibia/default.nix index 26b1f9c9da252..4ce5aa5cf1076 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 |