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

View file

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