2021-02-05 17:12:51 +00:00
|
|
|
{ lib, lndir, symlinkJoin, makeWrapper
|
2020-04-24 23:36:52 +00:00
|
|
|
, lilypond, openlilylib-fonts
|
|
|
|
}:
|
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
lib.appendToName "with-fonts" (symlinkJoin {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (lilypond) meta name version ;
|
|
|
|
|
|
|
|
paths = [ lilypond ] ++ openlilylib-fonts.all;
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper lndir ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
for p in $out/bin/*; do
|
|
|
|
wrapProgram "$p" --set LILYPOND_DATADIR "$datadir"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
})
|