1 { lib, symlinkJoin, makeWrapper
2 , lilypond, openlilylib-fonts
5 lib.appendToName "with-fonts" (symlinkJoin {
6 inherit (lilypond) meta name version ;
8 paths = [ lilypond ] ++ openlilylib-fonts.all;
10 nativeBuildInputs = [ makeWrapper ];
13 for p in $out/bin/*; do
14 wrapProgram "$p" --set LILYPOND_DATADIR "$out/share/lilypond/${lilypond.version}"