Ricardo Wurmus <rek...@elephly.net> skribis: > the attached patch changes the result of ‘(search-gs)’ in the Lilypond > backend, such that it returns the “gs” executable from the very same > version of ghostscript that Lilypond was built with. > > Retaining a reference to ghostscript causes a closure increase from > 309.9 to 351.2. “gs” is required at runtime in order to compile > Lilypond files to PDF (the default output format). Without “gs” only > the postscript file is generated and the compilation fails unless the > output format is explicitly set to something other than PDF.
Makes sense. > From c98b44ba82e45ebcb802bc1852128624f647b580 Mon Sep 17 00:00:00 2001 > From: Ricardo Wurmus <rek...@elephly.net> > Date: Sun, 11 Oct 2015 11:24:20 +0200 > Subject: [PATCH] gnu: lilypond: Hardcode path to "gs" executable. > > * gnu/packages/music.scm (lilypond)[arguments]: Add build phase > "hardcode-path-to-gs". OK! Ludo’.