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:
parent
b19d6805a9
commit
1ea90625e4
|
@ -1374,7 +1374,7 @@ (define-public gnome-themes-standard
|
||||||
(define-public vala
|
(define-public vala
|
||||||
(package
|
(package
|
||||||
(name "vala")
|
(name "vala")
|
||||||
(version "0.26.1")
|
(version "0.28.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||||
|
@ -1382,8 +1382,15 @@ (define-public vala
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0swyym2papln0f62ah05dpvq3vv6fssap26jq2zqp9dkkaqsn1w4"))))
|
"0zwpzhkhfk3piya14m7p2hl2vaabahprphppfm46ci91z39kp7hd"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'set-cc
|
||||||
|
(lambda _
|
||||||
|
(setenv "CC" "gcc")
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("flex" ,flex)
|
("flex" ,flex)
|
||||||
|
|
Loading…
Reference in a new issue