From 233a4ed5739c4790efc155a703b86fe23f08e4b9 Mon Sep 17 00:00:00 2001 From: Jean Potier Date: Sun, 25 Nov 2018 15:38:18 +0200 Subject: [PATCH] renoise: add mpg123 to runtime deps * renoise: add mpg123 to runtime deps (#47435) * renoise: split native build inputs --- pkgs/applications/audio/renoise/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/renoise/default.nix b/pkgs/applications/audio/renoise/default.nix index cd06fa80f5a..c3474b60348 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" ];