From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Abramov Subject: Dovecot + pigeonhole packaging Date: Wed, 28 Aug 2019 19:11:40 +0200 Message-ID: <16cd93624e0.281d.da5dc967fe079fb386b94d5b80162893@mmer.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46698) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i31U3-0002TD-99 for help-guix@gnu.org; Wed, 28 Aug 2019 13:11:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i31U1-0002rr-8g for help-guix@gnu.org; Wed, 28 Aug 2019 13:11:47 -0400 Received: from mx4.mail.mmer.org ([178.22.66.29]:17453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i31U1-0002qe-2F for help-guix@gnu.org; Wed, 28 Aug 2019 13:11:45 -0400 Received: from [100.127.24.192] (unknown [62.72.193.73]) (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 1D0249CC5E for ; Wed, 28 Aug 2019 17:11:42 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi guix, My system requires me to have dovecot and pigeonhole. So I packaged it. I= =20 created two none public packages and merged them into one big package. But wouldn't it be better to do it the same way as debian does?Every=20 component lives in a separate package, and if I need some library I don't= =20 have to install the giant package. The problem I encountered is that dovecot has mail_plugin_dir property=20 which does not accept multiple folders. It means I have to put and instal= l=20 new plugins in the very same directory with existing plugins. rpath is no= t=20 an option here. Even if a library knows where to load its dependencies,=20 dovecot doesn't aware of it. Is there a way to have shared store folder? Debian overrides rpath to al= l=20 dovecot extensions and set it to /usr/dovecot/lib. Or maybe create a dummy package and use it as a storage for the libraries= ?=20 What is the right approach here? I also checked how nixos does it, and I don't like this approach, they=20 patch source code and install their libs in /etc -- Alexey