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