gnu: zsh: Use 'modify-phases'.
* gnu/packages/shells.scm (zsh)[arguments]: Use ‘modify-phases’ instead of ‘alist-delete’.master
parent
318c0aee1e
commit
ddee9a6e8b
|
@ -233,27 +233,27 @@ history mechanism, job control and a C-like syntax.")
|
||||||
"0dsr450v8nydvpk8ry276fvbznlrjgddgp7zvhcw4cv69i9lr4ps"))))
|
"0dsr450v8nydvpk8ry276fvbznlrjgddgp7zvhcw4cv69i9lr4ps"))))
|
||||||
(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 (alist-cons-before
|
#:phases
|
||||||
'configure 'fix-sh
|
(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-before 'configure 'fix-sh
|
||||||
;; Some of the files are ISO-8859-1 encoded.
|
(lambda _
|
||||||
(with-fluids ((%default-port-encoding #f))
|
;; Some of the files are ISO-8859-1 encoded.
|
||||||
(substitute*
|
(with-fluids ((%default-port-encoding #f))
|
||||||
'("configure"
|
(substitute*
|
||||||
"configure.ac"
|
'("configure"
|
||||||
"Src/exec.c"
|
"configure.ac"
|
||||||
"Src/mkmakemod.sh"
|
"Src/exec.c"
|
||||||
"Config/installfns.sh"
|
"Src/mkmakemod.sh"
|
||||||
"Config/defs.mk.in"
|
"Config/installfns.sh"
|
||||||
"Test/E01options.ztst"
|
"Config/defs.mk.in"
|
||||||
"Test/A05execution.ztst"
|
"Test/E01options.ztst"
|
||||||
"Test/A01grammar.ztst"
|
"Test/A05execution.ztst"
|
||||||
"Test/A06assign.ztst"
|
"Test/A01grammar.ztst"
|
||||||
"Test/B02typeset.ztst"
|
"Test/A06assign.ztst"
|
||||||
"Completion/Unix/Command/_init_d"
|
"Test/B02typeset.ztst"
|
||||||
"Util/preconfig")
|
"Completion/Unix/Command/_init_d"
|
||||||
(("/bin/sh") (which "sh")))))
|
"Util/preconfig")
|
||||||
%standard-phases)))
|
(("/bin/sh") (which "sh")))))))))
|
||||||
(native-inputs `(("autoconf" ,autoconf)))
|
(native-inputs `(("autoconf" ,autoconf)))
|
||||||
(inputs `(("ncurses" ,ncurses)
|
(inputs `(("ncurses" ,ncurses)
|
||||||
("pcre" ,pcre)
|
("pcre" ,pcre)
|
||||||
|
|
Reference in New Issue