mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -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"))))
|
||||
(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 a new issue