1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-17 04:20:44 +02:00

gnu: zsh: Use 'modify-phases'.

* gnu/packages/shells.scm (zsh)[arguments]: Use ‘modify-phases’
instead of ‘alist-delete’.
This commit is contained in:
Tobias Geerinckx-Rice 2016-08-02 02:34:36 +02:00
parent 318c0aee1e
commit ddee9a6e8b
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99

View file

@ -233,8 +233,9 @@ 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
(add-before 'configure 'fix-sh
(lambda _ (lambda _
;; Some of the files are ISO-8859-1 encoded. ;; Some of the files are ISO-8859-1 encoded.
(with-fluids ((%default-port-encoding #f)) (with-fluids ((%default-port-encoding #f))
@ -252,8 +253,7 @@ 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")))))))))
%standard-phases)))
(native-inputs `(("autoconf" ,autoconf))) (native-inputs `(("autoconf" ,autoconf)))
(inputs `(("ncurses" ,ncurses) (inputs `(("ncurses" ,ncurses)
("pcre" ,pcre) ("pcre" ,pcre)