mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #135685 from kraem/kraem/sonic-pi/wrap_sonic-pi-server
sonic-pi: wrap sonic-pi-server.rb as standalone executable
This commit is contained in:
commit
5a825ba0a5
1 changed files with 6 additions and 1 deletions
|
@ -102,7 +102,12 @@ mkDerivation rec {
|
|||
dontWrapQtApps = true;
|
||||
preFixup = ''
|
||||
wrapQtApp "$out/bin/sonic-pi" \
|
||||
--prefix PATH : ${ruby}/bin:${bash}/bin:${supercollider}/bin:${jack2}/bin \
|
||||
--prefix PATH : ${lib.makeBinPath [ bash jack2 ruby supercollider ] } \
|
||||
--set AUBIO_LIB "${aubio}/lib/libaubio.so"
|
||||
makeWrapper \
|
||||
$out/app/server/ruby/bin/sonic-pi-server.rb \
|
||||
$out/bin/sonic-pi-server \
|
||||
--prefix PATH : ${lib.makeBinPath [ bash jack2 ruby supercollider ] } \
|
||||
--set AUBIO_LIB "${aubio}/lib/libaubio.so"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue