all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Newbie packagers
Date: Fri, 22 Jul 2016 09:13:14 +0200	[thread overview]
Message-ID: <CAEwRq=rj1ofhx49xW5YMxjFkaXHSp158=Y8YdwUV3T6fjptSLA@mail.gmail.com> (raw)
In-Reply-To: <CAEwRq=qKf76bRZ3MZv-tEi2rpwOtwjGNPyvvAh7mY9xMXc-6=w@mail.gmail.com>

Just to see if I understood properly...

In the hello.scm example, there is :

(arguments `(#:configure-flags '("--enable-silent-rules")))

1 - can the quasiquote be replaced by a regular quote, because
unquote is not used ?

I'd guess yes, now I'll try it... <later>

So, it seems like we can change the quasiquote to a simple quote.

A question remains, why do the configure flags need to be a quoted list ?

Is it because it could be a function call evaluated by the gnu-build-system
which has to return a list of strings ?

That would mean the following should work:

(arguments `(#:configure-flags (lambda () (list "--enable-silent-rules"))))

-- 
Vincent Legoll

  reply	other threads:[~2016-07-22  7:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21 13:21 Newbie packagers Vincent Legoll
2016-07-21 15:52 ` Ricardo Wurmus
2016-07-21 17:13   ` Vincent Legoll
2016-07-22  8:30     ` Chris Marusich
2016-07-23 10:21   ` Andreas Enge
2016-07-23 10:36     ` Vincent Legoll
2016-07-21 15:54 ` Ludovic Courtès
2016-07-21 17:19   ` Vincent Legoll
2016-07-21 18:04     ` Vincent Legoll
2016-07-22  7:13       ` Vincent Legoll [this message]
2016-07-22 12:23         ` Ludovic Courtès
2016-07-22 12:43           ` Vincent Legoll
2016-07-22 12:41       ` Ludovic Courtès
2016-07-22 12:46         ` Vincent Legoll
2016-07-22 14:41           ` Ludovic Courtès
2016-07-22 20:01             ` Vincent Legoll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEwRq=rj1ofhx49xW5YMxjFkaXHSp158=Y8YdwUV3T6fjptSLA@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.