bitwig-studio: fix MIDI input

Binding the entire /dev directory inside the Bubblewrap environment
appears to fix MIDI, which broke after the Bubblewrap change
in PR #360198.
This commit is contained in:
Andrew Bruce
2024-12-04 19:03:47 +00:00
parent be7d22f6be
commit 1a78278170
@@ -30,7 +30,12 @@ stdenv.mkDerivation {
chmod -R u+w $TMPDIR/VampTransforms
echo "Starting Bitwig Studio in Bubblewrap Environment"
${bubblewrap}/bin/bwrap --bind / / --bind $TMPDIR/VampTransforms ${bitwig-studio-unwrapped}/libexec/resources/VampTransforms ${bitwig-studio-unwrapped}/bin/bitwig-studio || true
${bubblewrap}/bin/bwrap \
--bind / / \
--bind $TMPDIR/VampTransforms ${bitwig-studio-unwrapped}/libexec/resources/VampTransforms \
--dev-bind /dev /dev \
${bitwig-studio-unwrapped}/bin/bitwig-studio \
|| true
echo "Bitwig exited, removing temporary directory"
rm -rf $TMPDIR