mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: chibi-scheme: Use 'modify-phases'.
* gnu/packages/scheme.scm (chibi-scheme)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
797a5cf57f
commit
4a187c556d
1 changed files with 5 additions and 8 deletions
|
@ -571,14 +571,11 @@ (define-public chibi-scheme
|
||||||
(file-name (string-append "chibi-scheme-" version ".tar.gz"))))
|
(file-name (string-append "chibi-scheme-" version ".tar.gz"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(alist-delete
|
(delete 'configure)
|
||||||
'configure
|
(add-before 'build 'set-cc
|
||||||
(alist-cons-before
|
(lambda _
|
||||||
'build 'set-cc
|
(setenv "CC" "gcc"))))
|
||||||
(lambda _
|
|
||||||
(setenv "CC" "gcc"))
|
|
||||||
%standard-phases))
|
|
||||||
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
||||||
(list (string-append "PREFIX=" out)
|
(list (string-append "PREFIX=" out)
|
||||||
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")))
|
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")))
|
||||||
|
|
Loading…
Reference in a new issue