From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aJjZESSRQ1+KfgAA0tVLHw (envelope-from ) for ; Mon, 24 Aug 2020 10:06:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KNW4DSSRQ19ocAAA1q6Kng (envelope-from ) for ; Mon, 24 Aug 2020 10:06:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 75B57940539 for ; Mon, 24 Aug 2020 10:06:27 +0000 (UTC) Received: from localhost ([::1]:54148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kA9Mu-0004wD-Pz for larch@yhetil.org; Mon, 24 Aug 2020 06:06:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kA9Ig-0006Pk-Qf for guix-patches@gnu.org; Mon, 24 Aug 2020 06:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kA9Ig-0006fL-EU for guix-patches@gnu.org; Mon, 24 Aug 2020 06:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kA9Ig-0006Et-CL for guix-patches@gnu.org; Mon, 24 Aug 2020 06:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42899] [PATCH v2 02/10] gnu: dovecot: Patch and provide a static path for module directory. Resent-From: Alexey Abramov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Aug 2020 10:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42899 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 42899@debbugs.gnu.org Received: via spool by 42899-submit@debbugs.gnu.org id=B42899.159826331023966 (code B ref 42899); Mon, 24 Aug 2020 10:02:02 +0000 Received: (at 42899) by debbugs.gnu.org; 24 Aug 2020 10:01:50 +0000 Received: from localhost ([127.0.0.1]:56132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA9IU-0006EU-Ja for submit@debbugs.gnu.org; Mon, 24 Aug 2020 06:01:50 -0400 Received: from mx4.mail.mmer.org ([178.22.66.29]:24514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA9IR-0006EJ-G1 for 42899@debbugs.gnu.org; Mon, 24 Aug 2020 06:01:48 -0400 Received: from delta (92-109-1-225.cable.dynamic.v4.ziggo.nl [92.109.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx4.mail.mmer.org (Postfix) with ESMTPSA id 30E029CC5E; Mon, 24 Aug 2020 09:30:58 +0000 (UTC) From: Alexey Abramov References: <20200818120037.30722-1-levenson@mmer.org> <20200818120037.30722-2-levenson@mmer.org> <20200819074132.GE10528@E5400> <87lfib2cnf.fsf@mmer.org> <20200823204535.GA1392@E5400> Date: Mon, 24 Aug 2020 12:01:37 +0200 In-Reply-To: <20200823204535.GA1392@E5400> (Efraim Flashner's message of "Sun, 23 Aug 2020 23:45:35 +0300") Message-ID: <87blj07472.fsf@mmer.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: fdpCxLnp1G4c Efraim Flashner writes: > On Wed, Aug 19, 2020 at 11:44:20AM +0200, Alexey Abramov wrote: >> Hi, >> >> Efraim Flashner writes: >> >> > How are all the XXX_MODULE_DIR variables set? Would it be possible to >> > just set MODULE_DIR to /etc/dovecot/modules and leave the others as-is? >> > They seem to just use a file/folder under MODULE_DIR. >> >> They set during compilation time. If I pass it as a configuration option, dovecot will try to install libraries there which won't work. > > This was enough to jog my memory that we have a couple of packages (with > services) that have configure flags for one directory and install to > %outputs as expected. I came up with the attached patch to make that > happen. Thank you very much! I have just tested it, and as you might probably know everything works as expected. I will push your updated patch as soon as guys review the services part. -- Alexey