gnu: zsh: Update to 5.4.2.
* gnu/packages/shells.scm (zsh): Update to 5.4.2. [arguments]: Add a 'patch-test' build phase.
This commit is contained in:
parent
fbf5ca3c5e
commit
4440e40c6a
|
@ -317,7 +317,7 @@ history mechanism, job control and a C-like syntax.")
|
||||||
(define-public zsh
|
(define-public zsh
|
||||||
(package
|
(package
|
||||||
(name "zsh")
|
(name "zsh")
|
||||||
(version "5.2")
|
(version "5.4.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (list (string-append
|
(uri (list (string-append
|
||||||
|
@ -328,7 +328,7 @@ history mechanism, job control and a C-like syntax.")
|
||||||
".tar.gz")))
|
".tar.gz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0dsr450v8nydvpk8ry276fvbznlrjgddgp7zvhcw4cv69i9lr4ps"))))
|
"1jdcfinzmki2w963msvsanv29vqqfmdfm4rncwpw0r3zqnrcsywm"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments `(#:configure-flags '("--with-tcsetpgrp" "--enable-pcre")
|
(arguments `(#:configure-flags '("--with-tcsetpgrp" "--enable-pcre")
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -351,7 +351,17 @@ history mechanism, job control and a C-like syntax.")
|
||||||
"Test/B02typeset.ztst"
|
"Test/B02typeset.ztst"
|
||||||
"Completion/Unix/Command/_init_d"
|
"Completion/Unix/Command/_init_d"
|
||||||
"Util/preconfig")
|
"Util/preconfig")
|
||||||
(("/bin/sh") (which "sh")))))))))
|
(("/bin/sh") (which "sh"))))))
|
||||||
|
(add-before 'check 'patch-test
|
||||||
|
(lambda _
|
||||||
|
;; In Zsh, `command -p` searches a predefined set of
|
||||||
|
;; paths that don't exist in the build environment. See
|
||||||
|
;; the assignment of 'path' in Src/init.c'
|
||||||
|
(substitute* "Test/A01grammar.ztst"
|
||||||
|
(("command -pv") "command -v")
|
||||||
|
(("command -p") "command ")
|
||||||
|
(("'command' -p") "'command' "))
|
||||||
|
#t)))))
|
||||||
(native-inputs `(("autoconf" ,autoconf)))
|
(native-inputs `(("autoconf" ,autoconf)))
|
||||||
(inputs `(("ncurses" ,ncurses)
|
(inputs `(("ncurses" ,ncurses)
|
||||||
("pcre" ,pcre)
|
("pcre" ,pcre)
|
||||||
|
|
Loading…
Reference in New Issue