lilypond: add man output

This commit is contained in:
Sandro Jäckel
2025-11-18 23:40:22 +01:00
parent d343dbf7c4
commit 041e76d21e
2 changed files with 13 additions and 2 deletions
+4
View File
@@ -45,6 +45,10 @@
stdenv.mkDerivation rec {
pname = "lilypond";
version = "2.24.4";
outputs = [
"out"
"man"
];
src = fetchzip {
url = "http://lilypond.org/download/sources/v${lib.versions.majorMinor version}/lilypond-${version}.tar.gz";
+9 -2
View File
@@ -7,7 +7,12 @@
}:
lib.appendToName "with-fonts" (symlinkJoin {
inherit (lilypond) meta name version;
inherit (lilypond)
pname
outputs
version
meta
;
paths = [ lilypond ] ++ openlilylib-fonts.all;
@@ -15,7 +20,9 @@ lib.appendToName "with-fonts" (symlinkJoin {
postBuild = ''
for p in $out/bin/*; do
wrapProgram "$p" --set LILYPOND_DATADIR "$out/share/lilypond/${lilypond.version}"
wrapProgram "$p" --set LILYPOND_DATADIR "$out/share/lilypond/${lilypond.version}"
done
ln -s ${lilypond.man} $man
'';
})