diff --git a/pkgs/applications/audio/faust/faust2sc.nix b/pkgs/applications/audio/faust/faust2sc.nix index 02844773d422..acdc54434dc6 100644 --- a/pkgs/applications/audio/faust/faust2sc.nix +++ b/pkgs/applications/audio/faust/faust2sc.nix @@ -22,17 +22,11 @@ stdenv.mkDerivation (faustDefaults // { ''; postFixup = '' - # export parts of the build environment - mkdir "$out"/include - # until pr #887 is merged and released in faust we need to link the header folders - ln -s "${supercollider}"/include/SuperCollider/plugin_interface "$out"/include/plugin_interface - ln -s "${supercollider}"/include/SuperCollider/common "$out"/include/common - ln -s "${supercollider}"/include/SuperCollider/server "$out"/include/server wrapProgram "$out"/bin/${baseName} \ --append-flags "--import-dir ${faust}/share/faust" \ --append-flags "--architecture-dir ${faust}/share/faust" \ --append-flags "--architecture-dir ${faust}/include" \ - --append-flags "-p $out" \ + --append-flags "-p ${supercollider}" \ --prefix PATH : "$PATH" ''; })