diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-09-15 15:40:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-09-15 18:56:41 +0200 |
commit | 4a187c556d9e6c3f053efd80f3b1fdecbc02e40e (patch) | |
tree | 1b6c4707741dbf1747716bfc4478109f1b9b8d45 | |
parent | 797a5cf57f038e31e464afd5256a9faff5b46689 (diff) | |
download | guix-4a187c556d9e6c3f053efd80f3b1fdecbc02e40e.tar.gz |
gnu: chibi-scheme: Use 'modify-phases'.
* gnu/packages/scheme.scm (chibi-scheme)[arguments]: Use 'modify-phases'.
-rw-r--r-- | gnu/packages/scheme.scm | 13 |
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"))) |