From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Trouble with circular module dependencies (Re: 01/02: gnu: Add ncurses-with-gpm.) Date: Mon, 24 Jul 2017 11:25:16 +0200 Message-ID: <87y3renq4j.fsf@gnu.org> References: <20170715081544.12288.82778@vcs0.savannah.gnu.org> <20170715081545.DB2A022E4F@vcs0.savannah.gnu.org> <877eyyyes0.fsf_-_@netris.org> 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]:36290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZZcB-0006re-Oy for guix-devel@gnu.org; Mon, 24 Jul 2017 05:25:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZZc6-0004tW-Oy for guix-devel@gnu.org; Mon, 24 Jul 2017 05:25:23 -0400 In-Reply-To: <877eyyyes0.fsf_-_@netris.org> (Mark H. Weaver's message of "Sun, 23 Jul 2017 18:22:39 -0400") 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" To: Mark H Weaver Cc: guix-devel@gnu.org Hi Mark, I agree that it=E2=80=99s terrible that we have to deal with such problems. Thanks for (re)explaining the issue. Mark H Weaver skribis: > FWIW, I would like to see us work to eliminate all cyclic module > dependencies in Guix, by splitting up our package modules as needed so > that they form a directed acyclic graph. This seems hard to achieve, unless we use one file per package. Perhaps another option would be to introduce a =E2=80=98define-package=E2= =80=99 form that would thunk every package definition, or something like that, though it wouldn=E2=80=99t help in more complex cases I guess. Ludo=E2=80=99.