From 4a187c556d9e6c3f053efd80f3b1fdecbc02e40e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 15 Sep 2016 15:40:00 +0200 Subject: [PATCH] gnu: chibi-scheme: Use 'modify-phases'. * gnu/packages/scheme.scm (chibi-scheme)[arguments]: Use 'modify-phases'. --- gnu/packages/scheme.scm | 13 +++++-------- 1 file 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 @@ (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")))