guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: ed: Use 'modify-phases'.


From: Efraim Flashner
Subject: 02/03: gnu: ed: Use 'modify-phases'.
Date: Tue, 16 Feb 2016 16:09:51 +0000

efraim pushed a commit to branch core-updates
in repository guix.

commit ff0c847687ce796d61c94ca07ffa6d646339d095
Author: Efraim Flashner <address@hidden>
Date:   Mon Feb 15 10:16:49 2016 +0200

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

diff --git a/gnu/packages/ed.scm b/gnu/packages/ed.scm
index 953f739..3668aac 100644
--- a/gnu/packages/ed.scm
+++ b/gnu/packages/ed.scm
@@ -40,11 +40,12 @@
     (native-inputs `(("lzip" ,lzip)))
     (arguments
      '(#:configure-flags '("CC=gcc")
-       #:phases (alist-cons-before 'patch-source-shebangs 'patch-test-suite
-                                   (lambda _
-                                     (substitute* "testsuite/check.sh"
-                                       (("/bin/sh") (which "sh"))))
-                                   %standard-phases)))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'patch-source-shebangs 'patch-test-suite
+                     (lambda _
+                       (substitute* "testsuite/check.sh"
+                         (("/bin/sh") (which "sh"))))))))
     (home-page "http://www.gnu.org/software/ed/";)
     (synopsis "Line-oriented text editor")
     (description



reply via email to

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