diff options
author | Jack Cummings <jack@mudshark.org> | 2012-12-27 18:42:40 -0800 |
---|---|---|
committer | Jack Cummings <jack@mudshark.org> | 2012-12-27 18:42:40 -0800 |
commit | 69b752de5739054ef42e416e3743ab1b21c33af3 (patch) | |
tree | c66025f6c20eae9bdd3a21c953149e7519f15c89 /pkgs/games/vessel/default.nix | |
parent | 36e946c34fd4934da8b1a01adc9f53507f33a686 (diff) |
patchelf the libraries: they need rpath set for sound to work
Diffstat (limited to 'pkgs/games/vessel/default.nix')
-rw-r--r-- | pkgs/games/vessel/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/games/vessel/default.nix b/pkgs/games/vessel/default.nix index e1779d1a4db4a..e6f3523fa246f 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/ |