lilypond-with-fonts: use all fonts by default

Add a list of all fonts to openlilylib-fonts and use that as the default
fonts argument to lilypond-with-fonts.
This commit is contained in:
Eric Bailey 2017-03-06 04:33:31 -06:00
parent bdc9589df1
commit f497421e14
No known key found for this signature in database
GPG Key ID: 29E1B8D32C1635C4
2 changed files with 27 additions and 2 deletions

View File

@ -43,7 +43,7 @@ let
in
{
rec {
beethoven = olpFont {
fontName = "beethoven";
rev = "669f400";
@ -119,4 +119,22 @@ in
rev = "44bf262";
sha256 = "09i8p3p4z6vz69j187cpxvikkgc4pk6gxippahy0k7i7bh0d4qaj";
};
all = [
beethoven
bravura
cadence
gonville
gutenberg1939
haydn
improviso
lilyboulez
lilyjazz
lv-goldenage
paganini
profondo
ross
scorlatti
sebastiano
];
}

View File

@ -1,4 +1,11 @@
{ stdenv, lilypond, lndir }: fonts: stdenv.mkDerivation {
{ stdenv
, lndir
, lilypond
, openlilylib-fonts
, fonts ? openlilylib-fonts.all
}:
stdenv.mkDerivation {
name = "${lilypond.name}-with-fonts";
phases = "installPhase";
buildInputs = fonts;