Merge pull request #263458 from m-bdf/sonic-pi-add-jack-tools

sonic-pi: add jack-example-tools dependency
This commit is contained in:
Lily Foster 2023-10-26 13:01:16 -04:00 committed by GitHub
commit 3b759e96f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@
, boost
, aubio
, jack2
, jack-example-tools
, supercollider-with-sc3-plugins
, parallel
@ -187,14 +188,14 @@ stdenv.mkDerivation rec {
preFixup = ''
# Wrap Qt GUI (distributed binary)
wrapQtApp $out/bin/sonic-pi \
--prefix PATH : ${lib.makeBinPath [ ruby supercollider-with-sc3-plugins jack2 ]}
--prefix PATH : ${lib.makeBinPath [ ruby supercollider-with-sc3-plugins jack2 jack-example-tools ]}
# If ImGui was built
if [ -e $out/app/build/gui/imgui/sonic-pi-imgui ]; then
# Wrap ImGui into bin
makeWrapper $out/app/build/gui/imgui/sonic-pi-imgui $out/bin/sonic-pi-imgui \
--inherit-argv0 \
--prefix PATH : ${lib.makeBinPath [ ruby supercollider-with-sc3-plugins jack2 ]}
--prefix PATH : ${lib.makeBinPath [ ruby supercollider-with-sc3-plugins jack2 jack-example-tools ]}
fi
# Remove runtime Erlang references