Merge pull request #237832 from olafklingt/faust2sc

faust2sc: remove workaround
This commit is contained in:
Weijia Wang
2023-06-15 11:26:39 +03:00
committed by GitHub
+1 -7
View File
@@ -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"
'';
})