lol
1{ faust
2, csound
3}:
4
5faust.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}