all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "invalid input: python"
@ 2020-03-05  5:56 Nathan Dehnel
  2020-03-05  6:08 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Dehnel @ 2020-03-05  5:56 UTC (permalink / raw)
  To: help-guix

(define-public ladish
  (package
    (name "ladish")
    (version "ladish-1")
    (source
     (origin
       (method git-fetch)
       (uri
        (git-reference
         (url "https://github.com/LADI/ladish.git")
         (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "0cmmpz87cs2j15d5jbzffx24gqlgrcq0465k3qx12ai9mbi6lbf0"))))
    (build-system waf-build-system)
    (arguments
      '(#:python ,python-2))
    (inputs
     `(("alsa-lib" ,alsa-lib)
       ("jack2" ,jack-2)
       ("dbus" ,dbus)
       ("e2fsprogs" ,e2fsprogs)
       ("expat" ,expat)
       ("glib" ,glib)
       ("dbus-glib" ,dbus-glib)
       ("gtk+" ,gtk+)))
    (home-page "http://ladish.org/")
    (synopsis "LADI Session Handler")
    (description "LADI Session Handler or simply ladish is a session
management system for JACK applications on GNU/Linux. Its aim is to
allow you to have many different audio programs running at once, to
save their setup, close them down and then easily reload the setup at
some other time. ladish doesn't deal with any kind of audio or MIDI
data itself; it just runs programs, deals with saving/loading
(arbitrary) data and connects JACK ports together. It can also be used
to move entire sessions between computers, or post sessions on the
Internet for download.")
    (license gpl2)))

bash-5.0$ guix package -i ladish
WARNING: (cadence): `expat' imported from both (guix licenses) and
(gnu packages xml)
guix package: error: cadence.scm:142:2: package `ladish@ladish-1' has
an invalid input: ("python" (unquote python-2))

What am I doing wrong? This seems no different from how e.g.
non-sequencer package is doing it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "invalid input: python"
  2020-03-05  5:56 "invalid input: python" Nathan Dehnel
@ 2020-03-05  6:08 ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-03-05  6:08 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

Nathan Dehnel 写道:
>     (arguments
>       '(#:python ,python-2))
        ^^

You're trying to unquote inside a regular (non-quasi)quote. 
Instead:

     (arguments
       `(#:python ,python-2))

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-05  6:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-05  5:56 "invalid input: python" Nathan Dehnel
2020-03-05  6:08 ` Tobias Geerinckx-Rice

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.