gnu: vala: Fix tests by setting 'CC'.

This fixes a regression introduced in b19d680.

* gnu/packages/gnome.scm (vala)[arguments]: New field.
This commit is contained in:
宋文武 2015-04-22 14:29:46 +08:00
parent b19d6805a9
commit 1ea90625e4
1 changed files with 9 additions and 2 deletions

View File

@ -1374,7 +1374,7 @@ engineering.")
(define-public vala
(package
(name "vala")
(version "0.26.1")
(version "0.28.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@ -1382,8 +1382,15 @@ engineering.")
name "-" version ".tar.xz"))
(sha256
(base32
"0swyym2papln0f62ah05dpvq3vv6fssap26jq2zqp9dkkaqsn1w4"))))
"0zwpzhkhfk3piya14m7p2hl2vaabahprphppfm46ci91z39kp7hd"))))
(build-system gnu-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-before 'check 'set-cc
(lambda _
(setenv "CC" "gcc")
#t)))))
(native-inputs
`(("pkg-config" ,pkg-config)
("flex" ,flex)