From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Organizing packages Date: Mon, 15 Jul 2019 23:37:27 +0200 Message-ID: <87wogjgeso.fsf@elephly.net> References: <20190709100732.3f760245@gmail.com> <87ef2s4t8d.fsf@gnu.org> <20190715112101.5e83a861@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48244) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn8fH-0002cR-C9 for guix-devel@gnu.org; Mon, 15 Jul 2019 17:37:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hn8fG-0007KS-Fg for guix-devel@gnu.org; Mon, 15 Jul 2019 17:37:43 -0400 In-reply-to: <20190715112101.5e83a861@gmail.com> 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: Jesse Gibbons Cc: guix-devel@gnu.org Jesse Gibbons writes: > Interesting. So is it worth trying to organize the guix packages or do > you think it will get too complicated? I'm primarily bothered by the > number of small files with only one package definition and the > inconsistency in how packages are organized. I would rather a file have > multiple package definitions that make sense together than a hundred > files with only one package definition. I think it doesn=E2=80=99t matter much, but in some cases having separate modules even if they only contain one package definition can be really important because it reduces the =E2=80=9Cmodule closure=E2=80=9D of certai= n packages. Our modules are heavily interdependent and that=E2=80=99s bad as we cannot easily split up the work that has to be done by =E2=80=9Cguix pull=E2=80=9D. We shouldn=E2=80=99t have to evaluate all or most modules just to build the derivations for core packages. In those cases smaller modules can be used to cut inter-module references. (In many other cases, however, that=E2=80=99s just how package definitions = were organized in the early days of Guix. Moving them around is fine if the move is a clear improvement.) -- Ricardo