mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: janet: Prepare for cross-compilation.
* gnu/packages/lisp.scm (janet)[arguments]: Use 'cc-for-target'. Replace custom 'check' phase by 'test-target' parameter.
This commit is contained in:
parent
e9bd9a2d58
commit
90e92befbc
1 changed files with 3 additions and 6 deletions
|
@ -1172,14 +1172,11 @@ including a built-in database engine and a GUI system.")
|
||||||
(list
|
(list
|
||||||
(string-append "DESTDIR=" (assoc-ref %outputs "out"))
|
(string-append "DESTDIR=" (assoc-ref %outputs "out"))
|
||||||
(string-append "PREFIX=")
|
(string-append "PREFIX=")
|
||||||
(string-append "CC=" (assoc-ref %build-inputs "gcc")
|
(string-append "CC=" ,(cc-for-target)))
|
||||||
"/bin/gcc"))
|
#:test-target "test"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure))))
|
||||||
(replace 'check
|
|
||||||
(lambda _
|
|
||||||
(invoke "make" "test"))))))
|
|
||||||
(home-page "https://janet-lang.org/")
|
(home-page "https://janet-lang.org/")
|
||||||
(synopsis "Functional, imperative and embeddable programming language")
|
(synopsis "Functional, imperative and embeddable programming language")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue