That worked. Thanks!
On Tue, 2017-09-05 at 09:33 +0200, Ricardo Wurmus wrote:
> Hi,
>
> > Here's what I have in variants.scm, in case I did something wrong there:
> […]
> > (define lilypond-stable
>
> This must be “define-public” instead of “define”; alternatively, you can
> add “lilypond-stable
Hi,
> Here's what I have in variants.scm, in case I did something wrong there:
[…]
> (define lilypond-stable
This must be “define-public” instead of “define”; alternatively, you can
add “lilypond-stable” to the list of exports in the module definition.
Without this the variable is only defined l
buted under the same
;;; license as GNU Guix.
(define-module (custom packages variants)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages)
#:use-module (gnu packages music))
(define lilypond-stable
(package (inherit lilypond)
Mason Hock writes:
> Thank you. The first error is gone, but I still get
>
> guix package: error: lilypond: package not found for version 2.18
Are there any other error messages? It does work for me, so there are
probably other error messages that lead to a failure to evaluate the
custom modul
enced in source -> origin -> uri.
>
> --8<---cut here---start->8---
> (define lilypond-stable
> (package (inherit lilypond)
> (name "lilypond")
> (version "2.18.2")
> (source (origin
>
t 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 (o
Mason Hock writes:
> Thank you. How do I set GUIX_PACKAGE_PATH?
By exporting it as an environment variable:
export GUIX_PACKAGE_PATH=/path/to/somewhere
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
Mason Hock writes:
> Thanks for your response. GUIX_PACKAGE_PATH is currently my home folder.
> Am I supposed to create custom/packages/variants.scm or should I set
> GUIX_PACKAGE_PATH to something else?
I suggest not to set GUIX_PACKAGE_PATH to HOME. Better create an empty
directory “$HOME/cu
Martin Castillo writes:
> I currently have no access to a system with guix installed, but did you try
> $ guix package install lilypond@2.18.2
> ?
This would require a package definition for that version of lilypond and
we don’t have that. My instructions for GUIX_PACKAGE_PATH would add
such a
I currently have no access to a system with guix installed, but did you try
$ guix package install lilypond@2.18.2
?
Martin
e (gnu packages)
#:use-module (gnu packages music))
(define lilypond-stable
(package (inherit lilypond)
(version "2.18.2")
(source (origin
(method url-fetch)
(uri (string-append
"http://download.lin
I notice that Guix has Lilypond 2.19.58, which is the current unstable
version. Is it possible to access the current stable version, Lilypond
2.18.2, via Guix?
Thank you.
12 matches
Mail list logo