gnu: gambit-c: Use 'modify-phases' syntax.

* gnu/packages/scheme.scm (gambit-c)[arguments]: Use 'modify-phases'
syntax.
This commit is contained in:
Efraim Flashner 2016-10-23 12:19:30 +03:00
parent 71dcdaf31f
commit 27668c79de
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93

View File

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