gnu: zsh: Set default '$fpath'.

* gnu/packages/shells.scm (zsh)[arguments]: Add configure-flags
'disable-site-dir' and 'enable-additional-fpath'.
This commit is contained in:
Brice Waegeneire 2020-05-27 15:36:28 +02:00
parent 0526185ebb
commit 4f6e6c0442
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -441,8 +441,16 @@ (define-public zsh
(base32
"09yyaadq738zlrnlh1hd3ycj1mv3q5hh4xl1ank70mjnqm6bbi6w"))))
(build-system gnu-build-system)
(arguments `(#:configure-flags '("--with-tcsetpgrp" "--enable-pcre"
"--enable-maildir-support")
(arguments `(#:configure-flags
`("--with-tcsetpgrp"
"--enable-pcre"
"--enable-maildir-support"
;; share/zsh/site-functions isn't populated
"--disable-site-fndir"
,(string-append
"--enable-additional-fpath="
"/usr/local/share/zsh/site-functions," ; for foreign OS
"/run/current-system/profile/share/zsh/site-functions"))
#:phases
(modify-phases %standard-phases
(add-before 'configure 'fix-sh