aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2020-05-27 15:36:28 +0200
committerBrice Waegeneire <brice@waegenei.re>2020-06-14 15:25:56 +0200
commit4f6e6c0442368ac3fd7e95f1fc264671d9182c00 (patch)
treea5c593265448f610ecd70f2dbbdcf4b043bb4449
parent0526185ebb3b2c4d7cdb74256b5b4262c71c1433 (diff)
downloadguix-4f6e6c0442368ac3fd7e95f1fc264671d9182c00.tar
guix-4f6e6c0442368ac3fd7e95f1fc264671d9182c00.tar.gz
gnu: zsh: Set default '$fpath'.
* gnu/packages/shells.scm (zsh)[arguments]: Add configure-flags 'disable-site-dir' and 'enable-additional-fpath'.
-rw-r--r--gnu/packages/shells.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 562748da4a..8f251bb850 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -441,8 +441,16 @@ history mechanism, job control and a C-like syntax.")
(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