~ruther/guix-local

a38f0ab0b9e1d6959521dbf5852a4715205c3639 — Ludovic Courtès 13 years ago d8707db
build-system/gnu: Clarify docstring of `package-with-extra-configure-variable'.

* guix/build-system/gnu.scm (package-with-extra-configure-variable): Add
  "recursively" in the docstring.
1 files changed, 3 insertions(+), 3 deletions(-)

M guix/build-system/gnu.scm
M guix/build-system/gnu.scm => guix/build-system/gnu.scm +3 -3
@@ 78,9 78,9 @@ when GUILE is #f."
                     (filtered-inputs (package-inputs p)))))))

(define (package-with-extra-configure-variable p variable value)
  "Return a version of P with VARIABLE=VALUE specified as an extra
`configure' flag.  An example is LDFLAGS=-static.  If P already has
configure flags for VARIABLE, the associated value is augmented."
  "Return a version of P with VARIABLE=VALUE specified as an extra `configure'
flag, recursively.  An example is LDFLAGS=-static.  If P already has configure
flags for VARIABLE, the associated value is augmented."
  (let loop ((p p))
    (define (rewritten-inputs inputs)
      (map (match-lambda