From f731ebd198e12d2f8f870aaa4584d29f04290246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A9clairevoyant?= <848000+eclairevoyant@users.noreply.github.com> Date: Tue, 25 Mar 2025 22:46:28 -0400 Subject: [PATCH] lilypond: enable docs --- pkgs/misc/lilypond/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/lilypond/default.nix b/pkgs/misc/lilypond/default.nix index bd7b8b95546c..2377cebb484c 100644 --- a/pkgs/misc/lilypond/default.nix +++ b/pkgs/misc/lilypond/default.nix @@ -34,10 +34,11 @@ texliveSmall, tex ? texliveSmall.withPackages ( ps: with ps; [ - lh - metafont epsf fontinst + fontware + lh + metafont ] ), }: @@ -69,7 +70,6 @@ stdenv.mkDerivation rec { ''; configureFlags = [ - "--disable-documentation" # FIXME: these URW fonts are not OTF, configure reports "URW++ OTF files... no". "--with-urwotf-dir=${ghostscript.fonts}/share/fonts" "--with-texgyre-dir=${gyre-fonts}/share/fonts/truetype/" @@ -129,12 +129,16 @@ stdenv.mkDerivation rec { supportedFeatures = [ "commit" ]; }; + # documentation makefile uses "out" for different purposes, hence we explicitly set it to an empty string + makeFlags = [ "out=" ]; + meta = { description = "Music typesetting system"; homepage = "https://lilypond.org/"; license = with lib.licenses; [ gpl3Plus # most code gpl3Only # ly/articulate.ly + fdl13Plus # docs ofl # mf/ ]; maintainers = with lib.maintainers; [