From 11ff53e7cbfb73701dd9070298b64a40581da85a Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 28 Nov 2019 13:14:51 +0100 Subject: [PATCH] zam-plugins: fix build Did not find with libGLU_combined for some reason, libGL works and seems to be sufficient. --- pkgs/applications/audio/zam-plugins/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/audio/zam-plugins/default.nix b/pkgs/applications/audio/zam-plugins/default.nix index eeeb8ae2ea44..a8236b4b60f1 100644 --- a/pkgs/applications/audio/zam-plugins/default.nix +++ b/pkgs/applications/audio/zam-plugins/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit , boost, libX11, libGLU_combined, liblo, libjack2, ladspaH, lv2, pkgconfig, rubberband, libsndfile, fftwFloat, libsamplerate }: +{ stdenv, fetchgit , boost, libX11, libGL, liblo, libjack2, ladspaH, lv2, pkgconfig, rubberband, libsndfile, fftwFloat, libsamplerate }: stdenv.mkDerivation { pname = "zam-plugins"; @@ -12,16 +12,18 @@ stdenv.mkDerivation { }; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ boost libX11 libGLU_combined liblo libjack2 ladspaH lv2 rubberband libsndfile fftwFloat libsamplerate ]; + buildInputs = [ boost libX11 libGL liblo libjack2 ladspaH lv2 rubberband libsndfile fftwFloat libsamplerate ]; - patchPhase = '' + postPatch = '' patchShebangs ./dpf/utils/generate-ttl.sh ''; makeFlags = [ - "PREFIX=$(out)" + "PREFIX=${placeholder ''out''}" ]; + enableParallelBuilding = true; + meta = with stdenv.lib; { homepage = http://www.zamaudio.com/?p=976; description = "A collection of LV2/LADSPA/VST/JACK audio plugins by ZamAudio";