From 69b752de5739054ef42e416e3743ab1b21c33af3 Mon Sep 17 00:00:00 2001 From: Jack Cummings Date: Thu, 27 Dec 2012 18:42:40 -0800 Subject: [PATCH] patchelf the libraries: they need rpath set for sound to work --- pkgs/games/vessel/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/games/vessel/default.nix b/pkgs/games/vessel/default.nix index e1779d1a4db4..e6f3523fa246 100644 --- a/pkgs/games/vessel/default.nix +++ b/pkgs/games/vessel/default.nix @@ -51,6 +51,13 @@ stdenv.mkDerivation rec { --set-rpath $libPath:$out/libexec/strangeloop/vessel/x86/ \ $out/libexec/strangeloop/vessel/x86/vessel.x86 + # we need to libs to find their deps + for lib in $out/libexec/strangeloop/vessel/x86/lib* ; do + patchelf \ + --set-rpath $libPath:$out/libexec/strangeloop/vessel/x86/ \ + $lib + done + cat > $out/bin/Vessel << EOW #!/bin/sh cd $out/libexec/strangeloop/vessel/