diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2018-11-27 20:44:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 20:44:18 +0100 |
commit | af31c4ef4c9b374ef7538179601c0b827e9a6efc (patch) | |
tree | d5c8df817c8c385ebaea2106046ab3813f52186d /pkgs/applications/audio | |
parent | f31ea5a2d58c2487b4927bd2e59ae3269ae24368 (diff) | |
download | nixlib-af31c4ef4c9b374ef7538179601c0b827e9a6efc.tar nixlib-af31c4ef4c9b374ef7538179601c0b827e9a6efc.tar.gz nixlib-af31c4ef4c9b374ef7538179601c0b827e9a6efc.tar.bz2 nixlib-af31c4ef4c9b374ef7538179601c0b827e9a6efc.tar.lz nixlib-af31c4ef4c9b374ef7538179601c0b827e9a6efc.tar.xz nixlib-af31c4ef4c9b374ef7538179601c0b827e9a6efc.tar.zst nixlib-af31c4ef4c9b374ef7538179601c0b827e9a6efc.zip |
renoise: needs only mpg123 library
Moved in postFixup because fixup phase shrinks RPATH
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/renoise/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/applications/audio/renoise/default.nix b/pkgs/applications/audio/renoise/default.nix index c3474b60348e..081c4ab41acb 100644 --- a/pkgs/applications/audio/renoise/default.nix +++ b/pkgs/applications/audio/renoise/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, - mpg123, makeWrapper, releasePath ? null }: +{ stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib +, mpg123, releasePath ? null }: with stdenv.lib; @@ -36,8 +36,7 @@ stdenv.mkDerivation rec { releasePath else throw "Platform is not supported by Renoise"; - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ]; + buildInputs = [ alsaLib libjack2 libX11 libXcursor libXext libXrandr ]; installPhase = '' cp -r Resources $out @@ -56,9 +55,13 @@ stdenv.mkDerivation rec { mkdir $out/bin ln -s $out/renoise $out/bin/renoise + ''; - patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) --set-rpath $out/lib $out/renoise - wrapProgram "$out/renoise" --prefix LD_LIBRARY_PATH : "${mpg123}/lib" + postFixup = '' + patchelf \ + --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ + --set-rpath ${mpg123}/lib:$out/lib \ + $out/renoise ''; meta = { |