help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lilypond version


From: Ricardo Wurmus
Subject: Re: Lilypond version
Date: Sun, 20 Aug 2017 08:22:15 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

Hi,

please keep help-guix in Cc.

> Thanks. After following your steps I get
>
> guix package: warning: failed to load '(custom packages variants)':
> ERROR: Unbound variable: name
> guix package: error: lilypond: package not found for version 2.18

Okay, this means that we need to add the name field, because it is
referenced in source -> origin -> uri.

--8<---------------cut here---------------start------------->8---
(define lilypond-stable
  (package (inherit lilypond)
    (name "lilypond")
    (version "2.18.2")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "http://download.linuxaudio.org/lilypond/sources/v";
                    (version-major+minor version) "/"
                    name "-" version ".tar.gz"))
              (sha256
               (base32
                "01xs9x2wjj7w9appaaqdhk15r1xvvdbz9qwahzhppfmhclvp779j"))))))
--8<---------------cut here---------------end--------------->8---

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]