From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: pkg-config disappeared Date: Sat, 15 Jun 2013 15:51:54 +0200 Message-ID: <87ppvn7a85.fsf@gnu.org> References: <201306142256.32319.andreas@enge.fr> <871u83bjwb.fsf@gnu.org> <201306151536.12034.andreas@enge.fr> 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]:52067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnqyP-00034b-KF for bug-guix@gnu.org; Sat, 15 Jun 2013 09:56:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnqyO-0004EA-O7 for bug-guix@gnu.org; Sat, 15 Jun 2013 09:56:57 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:39752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnqyO-0004DP-J0 for bug-guix@gnu.org; Sat, 15 Jun 2013 09:56:56 -0400 In-Reply-To: <201306151536.12034.andreas@enge.fr> (Andreas Enge's message of "Sat, 15 Jun 2013 15:36:11 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > Am Samstag, 15. Juni 2013 schrieb Ludovic Court=C3=A8s: >> I just committed this to solve the problem: > > -(define %pkg-config > +;; This is the "primitive" pkg-config package. People should use `pkg- > config' > +;; (see below) rather than `%pkg-config', but we export `%pkg-config' so= =20 > that > +;; `fold-packages' finds it. > +(define-public %pkg-config > > This is weird; we should not expect people to install %pkg-config instead= =20 > of pkg-config. Something else should be modified so that pkg-config is=20 > "visible" by "guix package" under its normal name. It /is/ visible under its normal name: the package name is different from the variable name. What matters for =E2=80=98guix package=E2=80=99 is= the =E2=80=98name=E2=80=99 field, not the name of the variable. BTW, in the meantime it=E2=80=99s always possible to install pkg-config with something like: guix package -e '(@@ (gnu packages pkg-config) %pkg-config)' which directly refers to the variable. Ludo=E2=80=99.