gnu: Zsh: Remove workaround required for Zsh 5.6.

This is a followup to commit 5a5d3e3563.

* gnu/packages/shells.scm (zsh)[arguments]: Remove substitutions in 'patch-test'
phase.
This commit is contained in:
Leo Famulari 2018-09-12 15:17:45 -04:00
parent 4fa7f29f2a
commit ff9008d8de
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -336,19 +336,6 @@ (define-public zsh
(("command -pv") "command -v")
(("command -p") "command ")
(("'command' -p") "'command' "))
;; This file is ISO-8859-1 encoded.
(with-fluids ((%default-port-encoding #f))
(substitute* "Test/A05execution.ztst"
;; Help it find `sh`
(("PATH=/bin:\\$\\{ZTST_testdir\\}/command.tmp/ tstcmd-slashless")
(string-append "PATH=/bin:"
(assoc-ref %build-inputs "bash") "/bin:"
"${ZTST_testdir}/command.tmp/ tstcmd-slashless"))
;; Help it find `echo`
(("PATH=/bin:\\$\\{ZTST_testdir\\}/command.tmp tstcmd-arg")
(string-append "PATH=/bin:"
(assoc-ref %build-inputs "coreutils") "/bin:"
"PATH=/bin:${ZTST_testdir}/command.tmp tstcmd-arg"))))
#t)))))
(native-inputs `(("autoconf" ,autoconf)))
(inputs `(("ncurses" ,ncurses)