diff --git a/pkgs/applications/audio/renoise/default.nix b/pkgs/applications/audio/renoise/default.nix index cd06fa80f5aa471..c3474b60348e17d 100644 --- a/pkgs/applications/audio/renoise/default.nix +++ b/pkgs/applications/audio/renoise/default.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, releasePath ? null }: +{ stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, + mpg123, makeWrapper, releasePath ? null }: with stdenv.lib; @@ -35,6 +36,7 @@ stdenv.mkDerivation rec { releasePath else throw "Platform is not supported by Renoise"; + nativeBuildInputs = [ makeWrapper ]; buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ]; installPhase = '' @@ -56,11 +58,12 @@ stdenv.mkDerivation rec { 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" ''; meta = { description = "Modern tracker-based DAW"; - homepage = http://www.renoise.com/; + homepage = https://www.renoise.com/; license = licenses.unfree; maintainers = []; platforms = [ "i686-linux" "x86_64-linux" ];