@@ -20,13 +20,16 @@ stdenv.mkDerivation rec {
2020 mv helmholtz~/src/Makefile .
2121 rm -rf helmholtz~/src/
2222 rm helmholtz~/helmholtz~.pd_darwin
23+ rm helmholtz~/helmholtz~.pd_linux
2324 rm helmholtz~/helmholtz~.dll
2425 rm -rf __MACOSX
2526 '';
2627
2728 patchPhase = ''
29+ mkdir -p $out/helmholtz~
2830 sed -i "s@current: pd_darwin@current: pd_linux@g" Makefile
2931 sed -i "s@-Wl@@g" Makefile
32+ sed -i "s@\$(NAME).pd_linux \.\./\$(NAME).pd_linux@helmholtz~.pd_linux $out/helmholtz~/@g" Makefile
3033 '';
3134
3235 installPhase = ''