aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/scheme.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-09-15 15:40:00 +0200
committerLudovic Courtès <ludo@gnu.org>2016-09-15 18:56:41 +0200
commit4a187c556d9e6c3f053efd80f3b1fdecbc02e40e (patch)
tree1b6c4707741dbf1747716bfc4478109f1b9b8d45 /gnu/packages/scheme.scm
parent797a5cf57f038e31e464afd5256a9faff5b46689 (diff)
downloadpatches-4a187c556d9e6c3f053efd80f3b1fdecbc02e40e.tar
patches-4a187c556d9e6c3f053efd80f3b1fdecbc02e40e.tar.gz
gnu: chibi-scheme: Use 'modify-phases'.
* gnu/packages/scheme.scm (chibi-scheme)[arguments]: Use 'modify-phases'.
Diffstat (limited to 'gnu/packages/scheme.scm')
-rw-r--r--gnu/packages/scheme.scm13
1 files changed, 5 insertions, 8 deletions
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 797cd153d2..287bcdfe78 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -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")))