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;
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ lndir ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
for p in $out/bin/*; do
|
|
|
|
wrapProgram "$p" --set LILYPOND_DATADIR "$datadir"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
})
|