···1+{ faust
2+, csound
3+}:
4+5+faust.wrapWithBuildEnv {
6+7+ baseName = "faust2csound";
8+9+ propagatedBuildInputs = [
10+ csound
11+ ];
12+13+ # faust2csound generated .cpp files have
14+ # #include "csdl.h"
15+ # but that file is in the csound/ subdirectory
16+ preFixup = ''
17+ NIX_CFLAGS_COMPILE="$(printf '%s' "$NIX_CFLAGS_COMPILE" | sed 's%${csound}/include%${csound}/include/csound%')"
18+ '';
19+20+}
+14
pkgs/applications/audio/faust/faust2firefox.nix
···00000000000000
···1+{ faust
2+, xdg_utils
3+}:
4+5+# This just runs faust2svg, then attempts to open a browser using
6+# 'xdg-open'.
7+8+faust.wrap {
9+10+ baseName = "faust2firefox";
11+12+ runtimeInputs = [ xdg_utils ];
13+14+}