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

* gnu/packages/gnuzilla.scm (nspr)[arguments]: Use 'modify-phases'
syntax.
This commit is contained in:
Efraim Flashner 2017-03-27 20:37:01 +03:00
parent 84fb4bd907
commit 04952bd732
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -179,11 +179,9 @@ (define-public nspr
(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")