Skip to content

Commit

Permalink
helmholtz: fix failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Mar 25, 2018
1 parent 18d3088 commit 5bb96e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/applications/audio/pd-plugins/helmholtz/default.nix
Expand Up @@ -20,13 +20,16 @@ stdenv.mkDerivation rec {
mv helmholtz~/src/Makefile .
rm -rf helmholtz~/src/
rm helmholtz~/helmholtz~.pd_darwin
rm helmholtz~/helmholtz~.pd_linux
rm helmholtz~/helmholtz~.dll
rm -rf __MACOSX
'';

patchPhase = ''
mkdir -p $out/helmholtz~
sed -i "s@current: pd_darwin@current: pd_linux@g" Makefile
sed -i "s@-Wl@@g" Makefile
sed -i "s@\$(NAME).pd_linux \.\./\$(NAME).pd_linux@helmholtz~.pd_linux $out/helmholtz~/@g" Makefile
'';

installPhase = ''
Expand Down

0 comments on commit 5bb96e7

Please sign in to comment.