556d6f0562
GitOrigin-RevId: e4ef597edfd8a0ba5f12362932fc9b1dd01a0aef
17 lines
396 B
Nix
17 lines
396 B
Nix
{ lib, symlinkJoin, makeWrapper
|
|
, lilypond, openlilylib-fonts
|
|
}:
|
|
|
|
lib.appendToName "with-fonts" (symlinkJoin {
|
|
inherit (lilypond) meta name version ;
|
|
|
|
paths = [ lilypond ] ++ openlilylib-fonts.all;
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postBuild = ''
|
|
for p in $out/bin/*; do
|
|
wrapProgram "$p" --set LILYPOND_DATADIR "$out/share/lilypond/${lilypond.version}"
|
|
done
|
|
'';
|
|
})
|