1 { lib, lndir, 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 ];
11 buildInputs = [ lndir ];
14 for p in $out/bin/*; do
15 wrapProgram "$p" --set LILYPOND_DATADIR "$datadir"