Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147{ stdenv, lib, fetchzip, ghostscript, texinfo, imagemagick, texi2html, extractpdfmark, guile, python3, gettext, glib, gmp, flex, perl, bison, pkg-config, autoreconfHook, dblatex, fontconfig, freetype, pango, fontforge, help2man, freefont_ttf, makeFontsConf, makeWrapper, t1utils, boehmgc, rsync, coreutils, texliveSmall, tex ? texliveSmall.withPackages ( ps: with ps; [ epsf fontinst fontware lh metafont ] ),}:
stdenv.mkDerivation rec { pname = "lilypond"; version = "2.24.4";
src = fetchzip { url = "http://lilypond.org/download/sources/v${lib.versions.majorMinor version}/lilypond-${version}.tar.gz"; hash = "sha256-UYdORvodrVchxslOxpMiXrAh7DtB9sWp9yqZU/jeB9Y="; };
postInstall = '' for f in "$out/bin/"*; do # Override default argv[0] setting so LilyPond can find # its Scheme libraries. wrapProgram "$f" \ --set GUILE_AUTO_COMPILE 0 \ --prefix PATH : "${ lib.makeBinPath [ ghostscript coreutils (placeholder "out") ] }" \ --argv0 "$f" done '';
preConfigure = '' substituteInPlace scripts/build/mf2pt1.pl \ --replace-fail "mem=mf2pt1" "mem=$PWD/mf/mf2pt1" '';
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ autoreconfHook bison dblatex extractpdfmark flex # for flex binary fontconfig fontforge gettext ghostscript guile help2man imagemagick makeWrapper perl pkg-config python3 rsync t1utils tex texi2html texinfo ];
buildInputs = [ boehmgc flex # FlexLexer.h freetype glib gmp pango ];
autoreconfPhase = "NOCONFIGURE=1 sh autogen.sh";
enableParallelBuilding = true;
passthru.updateScript = { command = [ ./update.sh ]; 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; [ marcweber yurrriq ]; platforms = lib.platforms.all; };
FONTCONFIG_FILE = lib.optional stdenv.hostPlatform.isDarwin (makeFontsConf { fontDirectories = [ freefont_ttf ]; });}