guix-commits
[Top][All Lists]
Advanced

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

09/09: gnu: nspr: Use 'modify-phases' syntax.


From: Efraim Flashner
Subject: 09/09: gnu: nspr: Use 'modify-phases' syntax.
Date: Tue, 28 Mar 2017 03:17:39 -0400 (EDT)

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

commit 04952bd7321c2607e51af2d11c1248d9462343ff
Author: Efraim Flashner <address@hidden>
Date:   Mon Mar 27 20:37:01 2017 +0300

    gnu: nspr: Use 'modify-phases' syntax.
    
    * gnu/packages/gnuzilla.scm (nspr)[arguments]: Use 'modify-phases'
    syntax.
---
 gnu/packages/gnuzilla.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 4077ac7..bdb9e85 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -179,11 +179,9 @@ in C/C++.")
                                (string-append "LDFLAGS=-Wl,-rpath="
                                               (assoc-ref %outputs "out")
                                               "/lib"))
-       #:phases (alist-cons-before
-                 'configure 'chdir
-                 (lambda _
-                   (chdir "nspr"))
-                 %standard-phases)))
+       #:phases (modify-phases %standard-phases
+                  (add-before 'configure 'chdir
+                    (lambda _ (chdir "nspr") #t)))))
     (home-page
      "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR";)
     (synopsis "Netscape API for system level and libc-like functions")



reply via email to

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