guix-commits
[Top][All Lists]
Advanced

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

05/06: gnu: gambit-c: Use 'modify-phases' syntax.


From: Efraim Flashner
Subject: 05/06: gnu: gambit-c: Use 'modify-phases' syntax.
Date: Sun, 23 Oct 2016 11:38:08 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 27668c79dec10f7b9d71c257fe2db86abf9aba41
Author: Efraim Flashner <address@hidden>
Date:   Sun Oct 23 12:19:30 2016 +0300

    gnu: gambit-c: Use 'modify-phases' syntax.
    
    * gnu/packages/scheme.scm (gambit-c)[arguments]: Use 'modify-phases'
    syntax.
---
 gnu/packages/scheme.scm |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index de5b312..9cc34b0 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -532,16 +532,16 @@ of libraries.")
        ;; use >= 1 GB memory, but makes Gambit much faster.
        '("--enable-single-host")
        #:phases
-       (alist-cons-before
-        'check 'fix-tests
-        (lambda _
-          (substitute* '("tests/makefile")
-            ;; '-:' is how run-time options are set.  'tl' sets some terminal
-            ;; option, which makes it fail in our build environment.  It
-            ;; recommends using 'd-' as a solution, which sets the REPL
-            ;; interaction channel to stdin/stdout.
-            (("gsi -:tl") "gsi -:d-,tl")))
-        %standard-phases)))
+       (modify-phases %standard-phases
+         (add-before 'check 'fix-tests
+           (lambda _
+             (substitute* '("tests/makefile")
+               ;; '-:' is how run-time options are set.  'tl' sets some 
terminal
+               ;; option, which makes it fail in our build environment.  It
+               ;; recommends using 'd-' as a solution, which sets the REPL
+               ;; interaction channel to stdin/stdout.
+               (("gsi -:tl") "gsi -:d-,tl"))
+             #t)))))
     (home-page "http://www.iro.umontreal.ca/~gambit/";)
     (synopsis "Efficient Scheme interpreter and compiler")
     (description



reply via email to

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