mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
18 lines
380 B
Nix
18 lines
380 B
Nix
{ lib, stdenv, lndir, symlinkJoin, makeWrapper
|
|
, lilypond, openlilylib-fonts
|
|
}:
|
|
|
|
lib.appendToName "with-fonts" (symlinkJoin {
|
|
inherit (lilypond) meta name version ;
|
|
|
|
paths = [ lilypond ] ++ openlilylib-fonts.all;
|
|
|
|
buildInputs = [ makeWrapper lndir ];
|
|
|
|
postBuild = ''
|
|
for p in $out/bin/*; do
|
|
wrapProgram "$p" --set LILYPOND_DATADIR "$datadir"
|
|
done
|
|
'';
|
|
})
|