3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/lilypond/with-fonts.nix

18 lines
357 B
Nix
Raw Normal View History

{ stdenv, lndir, symlinkJoin, makeWrapper
, lilypond, openlilylib-fonts
}:
stdenv.lib.appendToName "with-fonts" (symlinkJoin {
inherit (lilypond) meta name version ;
paths = [ lilypond ];
buildInputs = [ makeWrapper lndir ];
postBuild = ''
for p in $out/bin/*; do
wrapProgram "$p" --set LILYPOND_DATADIR "$datadir"
done
'';
})