From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: (hidden) wrapper+dependencies inconsistency=manifest fails? Date: Tue, 24 Sep 2019 10:01:14 +0200 Message-ID: <875zlinmwl.fsf@gnu.org> References: 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]:43893) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCfl6-0006mb-9B for guix-devel@gnu.org; Tue, 24 Sep 2019 04:01:17 -0400 In-Reply-To: (zimoun's message of "Fri, 20 Sep 2019 18:18:01 +0200") 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: zimoun Cc: Guix Devel Hi! zimoun skribis: > This command lists the dependencies of the "guix" package. > > guix package --show=3Dguix | recsel -p dependencies > > Then this command fails: > guix package --show=3Dautoconf-wrapper > > It is expected because the "wrapper" is not a "real" package and it is > not exposed. Only the package "autoconf" is. > > > 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. :-) > 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. Eventually, once build systems use gexp, I hope we can even get rid of these labels. Guix 2.0. Does that make sense? Thanks, Ludo=E2=80=99.