guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: zsh: Set default '$fpath'.


From: guix-commits
Subject: branch master updated: gnu: zsh: Set default '$fpath'.
Date: Sun, 14 Jun 2020 09:28:00 -0400

This is an automated email from the git hooks/post-receive script.

bricewge pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 4f6e6c0  gnu: zsh: Set default '$fpath'.
4f6e6c0 is described below

commit 4f6e6c0442368ac3fd7e95f1fc264671d9182c00
Author: Brice Waegeneire <brice@waegenei.re>
AuthorDate: Wed May 27 15:36:28 2020 +0200

    gnu: zsh: Set default '$fpath'.
    
    * gnu/packages/shells.scm (zsh)[arguments]: Add configure-flags
    'disable-site-dir' and 'enable-additional-fpath'.
---
 gnu/packages/shells.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 562748d..8f251bb 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]