From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41662] [PATCH] gnu: zsh: Set default '$fpath'. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jun 2020 13:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41662 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41662@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159110406616409 (code B ref -1); Tue, 02 Jun 2020 13:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jun 2020 13:21:06 +0000 Received: from localhost ([127.0.0.1]:38193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg6qn-0004Gb-WA for submit@debbugs.gnu.org; Tue, 02 Jun 2020 09:21:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:35714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg6qj-0004G1-Jn for submit@debbugs.gnu.org; Tue, 02 Jun 2020 09:21:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg6qj-0000q7-E6 for guix-patches@gnu.org; Tue, 02 Jun 2020 09:21:01 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:48085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg6qi-00006g-40 for guix-patches@gnu.org; Tue, 02 Jun 2020 09:21:00 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 66A28200008 for ; Tue, 2 Jun 2020 13:20:56 +0000 (UTC) From: Brice Waegeneire Date: Tue, 2 Jun 2020 15:20:48 +0200 Message-Id: <20200602132048.24761-1-brice@waegenei.re> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.178.232; envelope-from=brice@waegenei.re; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/02 09:20:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * 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 74d08e02bc..250c6d5576 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 -- 2.26.2 From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41662] [PATCH] gnu: zsh: Set default '$fpath'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Jun 2020 17:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41662 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brice Waegeneire Cc: 41662@debbugs.gnu.org Received: via spool by 41662-submit@debbugs.gnu.org id=B41662.15918953258604 (code B ref 41662); Thu, 11 Jun 2020 17:09:01 +0000 Received: (at 41662) by debbugs.gnu.org; 11 Jun 2020 17:08:45 +0000 Received: from localhost ([127.0.0.1]:37919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjQh2-0002Eh-VM for submit@debbugs.gnu.org; Thu, 11 Jun 2020 13:08:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjQh1-0002EW-Rx for 41662@debbugs.gnu.org; Thu, 11 Jun 2020 13:08:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37905) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjQgv-0008Kh-TH; Thu, 11 Jun 2020 13:08:37 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=52014 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jjQgv-0006GP-Df; Thu, 11 Jun 2020 13:08:37 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200602132048.24761-1-brice@waegenei.re> Date: Thu, 11 Jun 2020 19:08:35 +0200 In-Reply-To: <20200602132048.24761-1-brice@waegenei.re> (Brice Waegeneire's message of "Tue, 2 Jun 2020 15:20:48 +0200") Message-ID: <873671bkdo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Brice Waegeneire skribis: > * gnu/packages/shells.scm (zsh)[arguments]: Add configure-flags > 'disable-site-dir' and 'enable-additional-fpath'. [...] > + ,(string-append > + "--enable-additional-fpath=3D" > + "/usr/local/share/zsh/site-functions," ; for foreign= OS > + "/run/current-system/profile/share/zsh/site-function= s")) /usr/local seems arbitrary. What if we omit it, will that break zsh on foreign distros? Ludo=E2=80=99. From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41662] [PATCH] gnu: zsh: Set default '$fpath'. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Jun 2020 18:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41662 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 41662@debbugs.gnu.org Received: via spool by 41662-submit@debbugs.gnu.org id=B41662.159190058716923 (code B ref 41662); Thu, 11 Jun 2020 18:37:01 +0000 Received: (at 41662) by debbugs.gnu.org; 11 Jun 2020 18:36:27 +0000 Received: from localhost ([127.0.0.1]:38012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjS3v-0004Ot-Hh for submit@debbugs.gnu.org; Thu, 11 Jun 2020 14:36:27 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjS3t-0004Of-Lx for 41662@debbugs.gnu.org; Thu, 11 Jun 2020 14:36:26 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id 9C013E000B; Thu, 11 Jun 2020 18:36:18 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 11 Jun 2020 18:36:18 +0000 From: Brice Waegeneire In-Reply-To: <873671bkdo.fsf@gnu.org> References: <20200602132048.24761-1-brice@waegenei.re> <873671bkdo.fsf@gnu.org> Message-ID: <67e3da74cc834bdb8dd04cb5fb2eeb3d@waegenei.re> X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello Ludo', On 2020-06-11 17:08, Ludovic Courtès wrote: >> + ,(string-append >> + "--enable-additional-fpath=" >> + "/usr/local/share/zsh/site-functions," ; for >> foreign OS >> + >> "/run/current-system/profile/share/zsh/site-functions")) > > /usr/local seems arbitrary. What if we omit it, will that break zsh on > foreign distros? I let it there because it's a default[0] and because it was already present in our current zsh package, you can test that with “zsh -df -c 'echo $fpath'”. If I remember correctly I put it there for people using foreign OS who still wants some zsh functions from their host OS. [0]: https://github.com/zsh-users/zsh/blob/master/NEWS#L415-L424 - Brice From unknown Tue Aug 12 08:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41662] [PATCH] gnu: zsh: Set default '$fpath'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Jun 2020 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41662 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brice Waegeneire Cc: 41662@debbugs.gnu.org Received: via spool by 41662-submit@debbugs.gnu.org id=B41662.159197317120381 (code B ref 41662); Fri, 12 Jun 2020 14:47:02 +0000 Received: (at 41662) by debbugs.gnu.org; 12 Jun 2020 14:46:11 +0000 Received: from localhost ([127.0.0.1]:40419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjkwc-0005If-Mq for submit@debbugs.gnu.org; Fri, 12 Jun 2020 10:46:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjkwb-0005IT-IF for 41662@debbugs.gnu.org; Fri, 12 Jun 2020 10:46:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37028) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjkwV-0000XZ-12; Fri, 12 Jun 2020 10:46:03 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=54490 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jjkwU-0007GI-87; Fri, 12 Jun 2020 10:46:02 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200602132048.24761-1-brice@waegenei.re> <873671bkdo.fsf@gnu.org> <67e3da74cc834bdb8dd04cb5fb2eeb3d@waegenei.re> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Prairial an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 12 Jun 2020 16:46:00 +0200 In-Reply-To: <67e3da74cc834bdb8dd04cb5fb2eeb3d@waegenei.re> (Brice Waegeneire's message of "Thu, 11 Jun 2020 18:36:18 +0000") Message-ID: <87eeqk736f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Brice Waegeneire skribis: > On 2020-06-11 17:08, Ludovic Court=C3=A8s wrote: >>> + ,(string-append >>> + "--enable-additional-fpath=3D" >>> + "/usr/local/share/zsh/site-functions," ; for >>> foreign OS >>> + >>> "/run/current-system/profile/share/zsh/site-functions")) >> >> /usr/local seems arbitrary. What if we omit it, will that break zsh on >> foreign distros? > > I let it there because it's a default[0] and because it was already > present > in our current zsh package, you can test that with =E2=80=9Czsh -df -c 'e= cho > $fpath'=E2=80=9D. OK, that makes sense to me. Thanks, Ludo=E2=80=99. From unknown Tue Aug 12 08:32:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Brice Waegeneire Subject: bug#41662: closed (Re: [bug#41662] [PATCH] gnu: zsh: Set default '$fpath'.) Message-ID: References: <87r1uh7owd.fsf@waegenei.re> <20200602132048.24761-1-brice@waegenei.re> X-Gnu-PR-Message: they-closed 41662 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 41662@debbugs.gnu.org Date: Sun, 14 Jun 2020 13:34:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1592141642-16348-1" This is a multi-part message in MIME format... ------------=_1592141642-16348-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41662: [PATCH] gnu: zsh: Set default '$fpath'. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41662@debbugs.gnu.org. --=20 41662: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41662 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1592141642-16348-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41662-done) by debbugs.gnu.org; 14 Jun 2020 13:33:57 +0000 Received: from localhost ([127.0.0.1]:43143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkSlp-0004FO-DI for submit@debbugs.gnu.org; Sun, 14 Jun 2020 09:33:57 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:33499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkSlm-0004FA-Rh for 41662-done@debbugs.gnu.org; Sun, 14 Jun 2020 09:33:55 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay12.mail.gandi.net (Postfix) with ESMTPSA id BEE6B200002; Sun, 14 Jun 2020 13:33:48 +0000 (UTC) From: Brice Waegeneire To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#41662] [PATCH] gnu: zsh: Set default '$fpath'. In-Reply-To: <87eeqk736f.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 12 Jun 2020 16:46:00 +0200") References: <20200602132048.24761-1-brice@waegenei.re> <873671bkdo.fsf@gnu.org> <67e3da74cc834bdb8dd04cb5fb2eeb3d@waegenei.re> <87eeqk736f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Date: Sun, 14 Jun 2020 15:33:38 +0200 Message-ID: <87r1uh7owd.fsf@waegenei.re> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41662-done Cc: 41662-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Ludovic Court=C3=A8s writes: > Brice Waegeneire skribis: > >> On 2020-06-11 17:08, Ludovic Court=C3=A8s wrote: >>>> + ,(string-append >>>> + "--enable-additional-fpath=3D" >>>> + "/usr/local/share/zsh/site-functions," ; for >>>> foreign OS >>>> + >>>> "/run/current-system/profile/share/zsh/site-functions")) >>> >>> /usr/local seems arbitrary. What if we omit it, will that break zsh on >>> foreign distros? >> >> I let it there because it's a default[0] and because it was already >> present >> in our current zsh package, you can test that with =E2=80=9Czsh -df -c '= echo >> $fpath'=E2=80=9D. > > OK, that makes sense to me. Pushed as 4f6e6c0442368ac3fd7e95f1fc264671d9182c00. - Brice ------------=_1592141642-16348-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Jun 2020 13:21:06 +0000 Received: from localhost ([127.0.0.1]:38193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg6qn-0004Gb-WA for submit@debbugs.gnu.org; Tue, 02 Jun 2020 09:21:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:35714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg6qj-0004G1-Jn for submit@debbugs.gnu.org; Tue, 02 Jun 2020 09:21:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg6qj-0000q7-E6 for guix-patches@gnu.org; Tue, 02 Jun 2020 09:21:01 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:48085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg6qi-00006g-40 for guix-patches@gnu.org; Tue, 02 Jun 2020 09:21:00 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 66A28200008 for ; Tue, 2 Jun 2020 13:20:56 +0000 (UTC) From: Brice Waegeneire To: guix-patches@gnu.org Subject: [PATCH] gnu: zsh: Set default '$fpath'. Date: Tue, 2 Jun 2020 15:20:48 +0200 Message-Id: <20200602132048.24761-1-brice@waegenei.re> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.178.232; envelope-from=brice@waegenei.re; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/02 09:20:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * 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 74d08e02bc..250c6d5576 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 -- 2.26.2 ------------=_1592141642-16348-1--