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:
parent
0526185ebb
commit
4f6e6c0442
1 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue