diff --git a/pkgs/applications/audio/AMB-plugins/default.nix b/pkgs/applications/audio/AMB-plugins/default.nix index 8b03a97d1280..b388674fa449 100644 --- a/pkgs/applications/audio/AMB-plugins/default.nix +++ b/pkgs/applications/audio/AMB-plugins/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { sed -i 's@/usr/bin/install@install@g' Makefile sed -i 's@/bin/rm@rm@g' Makefile sed -i 's@/usr/lib/ladspa@$(out)/lib/ladspa@g' Makefile + sed -i 's@g++@$(CXX)@g' Makefile ''; preInstall="mkdir -p $out/lib/ladspa";