1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/misc/lilypond/with-fonts.nix

18 lines
380 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, lndir, symlinkJoin, makeWrapper
, lilypond, openlilylib-fonts
}:
2021-01-15 13:21:58 +00:00
lib.appendToName "with-fonts" (symlinkJoin {
inherit (lilypond) meta name version ;
2020-03-13 11:40:54 +00:00
paths = [ lilypond ] ++ openlilylib-fonts.all;
buildInputs = [ makeWrapper lndir ];
postBuild = ''
for p in $out/bin/*; do
wrapProgram "$p" --set LILYPOND_DATADIR "$datadir"
done
'';
})