Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
383 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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%')"
'';
}