lilypond: fix broken meta.homepage

The `src.meta` attribute does not exist, and even if it did the derivation does
not have a `rec` to reference it. This appears to be breaking all ofBorg meta
evaluation checks:

```
while evaluating the attribute 'homepage' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-0-gleber.ewr1.nix.ci/pkgs/misc/lilypond/fonts.nix:34:27:
undefined variable 'src' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-0-gleber.ewr1.nix.ci/pkgs/misc/lilypond/fonts.nix:34:18
```
https://gist.github.com/GrahamcOfBorg/cd87009bfee1a9c0d4f0d828b82ee09a
This commit is contained in:
Benjamin Hipple 2020-03-13 11:54:07 -04:00
parent b0d9764c72
commit f167ba637d
2 changed files with 2 additions and 4 deletions

View File

@ -57,7 +57,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Music typesetting system"; description = "Music typesetting system";
homepage = http://lilypond.org/; homepage = "http://lilypond.org/";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ marcweber yurrriq ]; maintainers = with maintainers; [ marcweber yurrriq ];
platforms = platforms.all; platforms = platforms.all;

View File

@ -7,7 +7,6 @@ let
inherit version; inherit version;
pname = "openlilypond-font-${fontName}"; pname = "openlilypond-font-${fontName}";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev sha256; inherit rev sha256;
owner = "OpenLilyPondFonts"; owner = "OpenLilyPondFonts";
@ -31,8 +30,7 @@ let
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit (src.meta) homepage; inherit (lilypond.meta) homepage platforms;
inherit (lilypond.meta) platforms;
description = "${fontName} font for LilyPond"; description = "${fontName} font for LilyPond";
license = licenses.ofl; license = licenses.ofl;
maintainers = with maintainers; [ yurrriq ]; maintainers = with maintainers; [ yurrriq ];