From: Eric Bavier <ericbavier@gmail.com>
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Package version at build side
Date: Tue, 04 Nov 2014 14:55:58 -0600 [thread overview]
Message-ID: <87ppd2wuqp.fsf@gmail.com> (raw)
In-Reply-To: <20141104193524.GA5700@debian>
Andreas Enge writes:
> Hello,
>
> for kdelibs, I need to pass the version of the input docbook-xsl as
> a configure flag. So I added something like
>
> #:configure-flags
> (list "-DCMAKE_VERBOSE_MAKEFILE=ON" ; for debugging
> (let ((docbook-xsl (assoc-ref %build-inputs "docbook-xsl")))
> (string-append "-DDOCBOOKXSL_DIR="
> docbook-xsl
> "/xml/xsl/docbook-xsl-"
> (package-version docbook-xsl)
> "/")))
[...]
> Is there a simpler solution?
You should be able to do this by quasi-quoting the list and unquoting
package-version. See e.g. the definition of maxima in maths.scm:891.
--
Eric Bavier
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
next prev parent reply other threads:[~2014-11-04 20:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 19:35 Package version at build side Andreas Enge
2014-11-04 20:55 ` Eric Bavier [this message]
2014-11-04 21:25 ` Andreas Enge
2014-11-04 21:45 ` Ludovic Courtès
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=87ppd2wuqp.fsf@gmail.com \
--to=ericbavier@gmail.com \
--cc=andreas@enge.fr \
--cc=guix-devel@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.