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
@ -571,14 +571,11 @@ mixed.")
|
||||
(file-name (string-append "chibi-scheme-" version ".tar.gz"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(alist-delete
|
||||
'configure
|
||||
(alist-cons-before
|
||||
'build 'set-cc
|
||||
(lambda _
|
||||
(setenv "CC" "gcc"))
|
||||
%standard-phases))
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-before 'build 'set-cc
|
||||
(lambda _
|
||||
(setenv "CC" "gcc"))))
|
||||
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
||||
(list (string-append "PREFIX=" out)
|
||||
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")))
|
||||
|
Loading…
Reference in New Issue
Block a user