gnu: mozjs@17: Use 'modify-phases' syntax.
* gnu/packages/gnuzilla.scm (mozjs@17)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
parent
f403c6761b
commit
56486b3a40
|
@ -89,15 +89,15 @@ (define-public mozjs
|
||||||
;; mkdir -p "system_wrapper_js/"
|
;; mkdir -p "system_wrapper_js/"
|
||||||
#:parallel-build? #f
|
#:parallel-build? #f
|
||||||
#:phases
|
#:phases
|
||||||
(alist-cons-after 'unpack 'delete-timedout-test
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'delete-timedout-test
|
||||||
;; This test times out on slower hardware.
|
;; This test times out on slower hardware.
|
||||||
(lambda _ (delete-file "js/src/jit-test/tests/basic/bug698584.js"))
|
(lambda _ (delete-file "js/src/jit-test/tests/basic/bug698584.js")))
|
||||||
(alist-cons-before
|
(add-before 'configure 'chdir
|
||||||
'configure 'chdir
|
|
||||||
(lambda _
|
(lambda _
|
||||||
(chdir "js/src"))
|
(chdir "js/src")
|
||||||
(alist-replace
|
#t))
|
||||||
'configure
|
(replace 'configure
|
||||||
;; configure fails if it is followed by SHELL and CONFIG_SHELL
|
;; configure fails if it is followed by SHELL and CONFIG_SHELL
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
@ -108,8 +108,7 @@ (define-public mozjs
|
||||||
,@(if (string=? "aarch64-linux"
|
,@(if (string=? "aarch64-linux"
|
||||||
(%current-system))
|
(%current-system))
|
||||||
'("--host=aarch64-unknown-linux-gnu")
|
'("--host=aarch64-unknown-linux-gnu")
|
||||||
'())))))
|
'())))))))))
|
||||||
%standard-phases)))))
|
|
||||||
(home-page
|
(home-page
|
||||||
"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey")
|
"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey")
|
||||||
(synopsis "Mozilla javascript engine")
|
(synopsis "Mozilla javascript engine")
|
||||||
|
|
Loading…
Reference in a new issue