From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Guix size reduction work group Date: Sat, 8 Feb 2020 14:40:27 +0100 Message-ID: References: <87pneul50i.fsf@ambrevar.xyz> <87blqdnjuv.fsf@gnu.org> <87d0aq13op.fsf@gnu.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:470:142:3::10]:46976) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0QLi-0006x9-Ay for guix-devel@gnu.org; Sat, 08 Feb 2020 08:40:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0QLh-0003nW-DW for guix-devel@gnu.org; Sat, 08 Feb 2020 08:40:42 -0500 In-Reply-To: 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-mx.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Cc: Guix Devel Hi, On Fri, 7 Feb 2020 at 23:31, G=C3=A1bor Boskovits wro= te: > Ludovic Court=C3=A8s ezt =C3=ADrta (id=C5=91pont: 2020. fe= br. 7., P=C3=A9n 22:36): >> zimoun skribis: >> >> The thing is, I think it=E2=80=99s something that requires constant c= are, every >> >> time we add a package or modify an existing one. It=E2=80=99s very e= asy to lose >> >> benefits that had been previously obtained through hard work! >> > >> > I have never thought, neither tried but is it possible to find and/or >> > build all the packages that 'inherit' from a specific one? >> >> Nope (=E2=80=98inherit=E2=80=99 is purely syntactic, it doesn=E2=80=99t = =E2=80=9Clive on=E2=80=9D at run time.) >> What would it buy you, though? > > It is currently easy to break packages by updating a package that is inhe= rited from. You have no way to know about that relationship by simple inspe= ction, and is not discoverable by current tooling either. So I also believe= that it would be useful to at least be able to list them. One place where = this becomes painful is in bootstrap chains. Yes, exactly that. :-) > Do you think this can be achieved somehow without complicating implementa= tion? Maybe grouping all the packages with the same 'origin'. It should possible, isn't it? Cheers, simon