Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 21 lines 383 B view raw
1{ 2 faust, 3 csound, 4}: 5 6faust.wrapWithBuildEnv { 7 8 baseName = "faust2csound"; 9 10 propagatedBuildInputs = [ 11 csound 12 ]; 13 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 ''; 20 21}