about summary refs log tree commit diff
path: root/pkgs/applications/audio/faust
diff options
context:
space:
mode:
authorolaf <olaf@klingt.org>2023-04-02 22:25:48 +0200
committerolaf <olaf@klingt.org>2023-06-14 23:54:28 +0200
commit4830b54ec99277cc6c28465f90d98bfeba86301a (patch)
tree655303b786dc139ed8d3f87a8ded92f953dbf6aa /pkgs/applications/audio/faust
parent6b942b501e29bba38acb3b47a4e88c027c82f2a4 (diff)
faust2sc: remove workaround
Before faust 2.59.6 faust2sc had a bug, now headers can be provided from the path of the source package.
Diffstat (limited to 'pkgs/applications/audio/faust')
-rw-r--r--pkgs/applications/audio/faust/faust2sc.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/applications/audio/faust/faust2sc.nix b/pkgs/applications/audio/faust/faust2sc.nix
index 02844773d4229..acdc54434dc68 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"
   '';
 })