blob: 2cfd1519795d9158cc516f3ca7011e0dfe88c0f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ 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
'';
})
|