From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: (hidden) wrapper+dependencies inconsistency=manifest fails? Date: Tue, 24 Sep 2019 18:52:42 +0200 Message-ID: References: <875zlinmwl.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]:35708) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCo3f-0005LE-Jh for guix-devel@gnu.org; Tue, 24 Sep 2019 12:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCo3e-0006No-Jb for guix-devel@gnu.org; Tue, 24 Sep 2019 12:52:59 -0400 In-Reply-To: <875zlinmwl.fsf@gnu.org> 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: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Guix Devel Hi Ludo, Thank you for explaining. On Tue, 24 Sep 2019 at 10:01, Ludovic Court=C3=A8s wrote: > zimoun skribis: > > Therefore, you cannot chain: > > > > guix package -i `guix package --show=3Dguix | recsel -P dependencies` > > > > guix package: error: autoconf-wrapper: package not found for version 2.= 69 > > Yes, but it=E2=80=99s a fact of life IMO. :-) It is against the Unix Philosophy: "Expect the output of every program to become the input to another". ;-) Isn't it? Well, I take that as an annoying fact of life. :-) > > Moreover, the name in "native-inputs" is not consistent with the > > declared name. I mean: > > guix repl > >> ,use(guix) > >> ,use(gnu packages package-management) > >> (package-native-inputs guix) > >> (map car (package-native-inputs guix)) > > This gives you the list of labels for each input. The labels do _not_ > have to match package names; they can be anything, there can even be > duplicates, etc. You should not rely on them at all to identify > packages. I understand. But how to lazily create a manifest without diving in too much details? Well, how can I create a profile to build guix? > Eventually, once build systems use gexp, I hope we can even get rid of > these labels. Guix 2.0. If they are useless. :-) > Does that make sense? Thank you for the explanations. All the best, simon