diff options
author | Brice Waegeneire <brice@waegenei.re> | 2020-05-27 15:36:28 +0200 |
---|---|---|
committer | Brice Waegeneire <brice@waegenei.re> | 2020-06-14 15:25:56 +0200 |
commit | 4f6e6c0442368ac3fd7e95f1fc264671d9182c00 (patch) | |
tree | a5c593265448f610ecd70f2dbbdcf4b043bb4449 /gnu | |
parent | 0526185ebb3b2c4d7cdb74256b5b4262c71c1433 (diff) | |
download | 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'.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/shells.scm | 12 |
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 |