faust2sc: remove workaround

Before faust 2.59.6 faust2sc had a bug, now headers can be provided from the path of the source package.
This commit is contained in:
olaf 2023-04-02 22:25:48 +02:00
parent 6b942b501e
commit 4830b54ec9

@ -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"
'';
})