slint-lsp: 1.9.1 -> 1.9.2 (#375714)
[NixPkgs.git] / pkgs / applications / audio / faust / faust2csound.nix
blob9b921eb88af284ae45a91ab07c5594a3ef92cd7e
2   faust,
3   csound,
4 }:
6 faust.wrapWithBuildEnv {
8   baseName = "faust2csound";
10   propagatedBuildInputs = [
11     csound
12   ];
14   # faust2csound generated .cpp files have
15   #   #include "csdl.h"
16   # but that file is in the csound/ subdirectory
17   preFixup = ''
18     NIX_CFLAGS_COMPILE="$(printf '%s' "$NIX_CFLAGS_COMPILE" | sed 's%${csound}/include%${csound}/include/csound%')"
19   '';