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

commit 04952bd7321c2607e51af2d11c1248d9462343ff
Author: Efraim Flashner <[email protected]>
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