faust: add various faust2appl scripts
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{ faust
|
||||
, csound
|
||||
}:
|
||||
|
||||
faust.wrapWithBuildEnv {
|
||||
|
||||
baseName = "faust2csound";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
csound
|
||||
];
|
||||
|
||||
# faust2csound generated .cpp files have
|
||||
# #include "csdl.h"
|
||||
# but that file is in the csound/ subdirectory
|
||||
preFixup = ''
|
||||
NIX_CFLAGS_COMPILE="$(printf '%s' "$NIX_CFLAGS_COMPILE" | sed 's%${csound}/include%${csound}/include/csound%')"
|
||||
'';
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user