From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Including additional modules in dmd services Date: Fri, 20 Nov 2015 15:03:51 +0100 Message-ID: <871tbkix88.fsf@gnu.org> References: <87bnap49hw.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzmIA-0006y9-S1 for guix-devel@gnu.org; Fri, 20 Nov 2015 09:03:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzmI6-0001tb-Pe for guix-devel@gnu.org; Fri, 20 Nov 2015 09:03:58 -0500 In-Reply-To: <87bnap49hw.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (David Thompson's message of "Thu, 19 Nov 2015 22:47:55 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: David Thompson Cc: guix-devel@gnu.org David Thompson skribis: > Am I just doing it wrong? If it's a real limitation, what would be the > best way to specify the additional modules needed? I looked around at > the various dmd services and couldn't find any other examples of needing > macros from another module. I would love to know how to resolve this so > that I can continue my quest of managing user SSH keys with a dmd > service. No you=E2=80=99re not doing it wrong! It just happens that the current lis= t of modules visible to dmd code is hard-coded in =E2=80=98dmd-configuration-fil= e=E2=80=99, in (gnu services dmd). Short-term workaround is to add (ice-9 match) there. Longer-term, I=E2=80=99d like to have each service in its own file, with it= s own set of modules. =E2=80=98dmd-service=E2=80=99 would presumably have a new = =E2=80=98modules=E2=80=99 field for that. I=E2=80=99ll look into it. Thanks, Ludo=E2=80=99.