From 4830b54ec99277cc6c28465f90d98bfeba86301a Mon Sep 17 00:00:00 2001 From: olaf Date: Sun, 2 Apr 2023 22:25:48 +0200 Subject: [PATCH] faust2sc: remove workaround Before faust 2.59.6 faust2sc had a bug, now headers can be provided from the path of the source package. --- pkgs/applications/audio/faust/faust2sc.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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" ''; })