nixpkgs/pkgs/applications/audio/faust/faust2csound.nix

21 lines
379 B
Nix
Raw Normal View History

2015-03-23 17:01:27 +00: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%')"
'';
}