diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-08-02 02:34:36 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-08-17 13:23:04 +0200 |
commit | ddee9a6e8b95b35f93b369a20e503c586feebcff (patch) | |
tree | ca6e686ffbad9557d500583238a1c226fdc98e60 /gnu/packages | |
parent | 318c0aee1ec2f33e4dfb7f4daa4a67cfcbe78629 (diff) | |
download | patches-ddee9a6e8b95b35f93b369a20e503c586feebcff.tar patches-ddee9a6e8b95b35f93b369a20e503c586feebcff.tar.gz |
gnu: zsh: Use 'modify-phases'.
* gnu/packages/shells.scm (zsh)[arguments]: Use ‘modify-phases’
instead of ‘alist-delete’.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/shells.scm | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index c3e5303f0c..183ef7f289 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -233,27 +233,27 @@ history mechanism, job control and a C-like syntax.") "0dsr450v8nydvpk8ry276fvbznlrjgddgp7zvhcw4cv69i9lr4ps")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--with-tcsetpgrp" "--enable-pcre") - #:phases (alist-cons-before - 'configure 'fix-sh - (lambda _ - ;; Some of the files are ISO-8859-1 encoded. - (with-fluids ((%default-port-encoding #f)) - (substitute* - '("configure" - "configure.ac" - "Src/exec.c" - "Src/mkmakemod.sh" - "Config/installfns.sh" - "Config/defs.mk.in" - "Test/E01options.ztst" - "Test/A05execution.ztst" - "Test/A01grammar.ztst" - "Test/A06assign.ztst" - "Test/B02typeset.ztst" - "Completion/Unix/Command/_init_d" - "Util/preconfig") - (("/bin/sh") (which "sh"))))) - %standard-phases))) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-sh + (lambda _ + ;; Some of the files are ISO-8859-1 encoded. + (with-fluids ((%default-port-encoding #f)) + (substitute* + '("configure" + "configure.ac" + "Src/exec.c" + "Src/mkmakemod.sh" + "Config/installfns.sh" + "Config/defs.mk.in" + "Test/E01options.ztst" + "Test/A05execution.ztst" + "Test/A01grammar.ztst" + "Test/A06assign.ztst" + "Test/B02typeset.ztst" + "Completion/Unix/Command/_init_d" + "Util/preconfig") + (("/bin/sh") (which "sh"))))))))) (native-inputs `(("autoconf" ,autoconf))) (inputs `(("ncurses" ,ncurses) ("pcre" ,pcre) |