build-system/gnu: Have `configure-flags' and `make-flags' evaluated.

* guix/build-system/gnu.scm (gnu-build): Double-quote the default value
  of MAKE-FLAGS and CONFIGURE-FLAGS.  Don't quote them in BUILDER.
This commit is contained in:
Ludovic Courtès 2012-06-28 01:18:15 +02:00
parent 04a0b857d8
commit e1e8874ee8
1 changed files with 4 additions and 4 deletions

View File

@ -40,8 +40,8 @@
"gcc" "binutils" "gnumake" "glibc")))
(define* (gnu-build store name source inputs
#:key (outputs '("out")) (configure-flags '())
(make-flags '()) (phases '%standard-phases)
#:key (outputs '("out")) (configure-flags ''())
(make-flags ''()) (phases '%standard-phases)
(system (%current-system)))
"Return a derivation called NAME that builds from tarball SOURCE, with
input derivation INPUTS, using the usual procedure of the GNU Build System."
@ -54,8 +54,8 @@ input derivation INPUTS, using the usual procedure of the GNU Build System."
#:outputs %outputs
#:inputs %build-inputs
#:phases ,phases
#:configure-flags ',configure-flags
#:make-flags ',make-flags)))
#:configure-flags ,configure-flags
#:make-flags ,make-flags)))
(build-expression->derivation store name system
builder