guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: chicken: Use "modify-phases" syntax.


From: Ricardo Wurmus
Subject: 02/04: gnu: chicken: Use "modify-phases" syntax.
Date: Mon, 21 Mar 2016 21:08:51 +0000

rekado pushed a commit to branch master
in repository guix.

commit acb380707937285bb9a9535ca4bab0b9d96e6574
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Mar 20 17:10:41 2016 +0100

    gnu: chicken: Use "modify-phases" syntax.
    
    * gnu/packages/scheme.scm (chicken)[arguments]: Use "modify-phases"
      syntax.
---
 gnu/packages/scheme.scm |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 5361f23..cb113e8 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -326,11 +326,12 @@ mashups, office (web agendas, mail clients, ...), etc.")
 
        ;; No `configure' script; run "make check" after "make install" as
        ;; prescribed by README.
-       #:phases (alist-cons-after
-                 'install 'check
-                 (assoc-ref %standard-phases 'check)
-                 (fold alist-delete %standard-phases
-                       '(configure check)))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (delete 'check)
+         (add-after 'install 'check
+           (assoc-ref %standard-phases 'check)))
 
        #:make-flags (let ((out (assoc-ref %outputs "out")))
                       (list "PLATFORM=linux"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]