From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: 02/05: guix package: -A and -s take supported systems into account. Date: Wed, 22 Apr 2015 01:28:26 -0400 Message-ID: <87h9s87mv9.fsf@netris.org> References: <20150419213459.12473.29783@vcs.savannah.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:4830:134:3::10]:33102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YknDH-0008Kx-AF for guix-devel@gnu.org; Wed, 22 Apr 2015 01:28:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YknDD-0002O0-9f for guix-devel@gnu.org; Wed, 22 Apr 2015 01:28:43 -0400 In-Reply-To: (Ludovic Court's message of "Sun, 19 Apr 2015 21:35:00 +0000") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > commit 5763ad9266ec7682d53b87a874fc6ae04f92b6c4 > Author: Ludovic Court=C3=A8s > Date: Sun Apr 19 19:12:22 2015 +0200 > > guix package: -A and -s take supported systems into account. >=20=20=20=20=20 > * guix/scripts/package.scm (guix-package)[process-query] > : Restrict results to packages matching > 'supported-package?". This breaks "guix package -A" on armhf, because it is not in %supported-systems. If we add it to %supported-systems, then 'hydra-jobs' in build-aux/hydra/gnu-system.scm will create jobs for armhf which will all fail. Also, this commit does not appear to make "guix package -s" take supported systems into account. That command still works on armhf. Anyway, it's not clear to me that guix package -A and -s _should_ take supported systems into account. Very often, I will use those commands to look for an existing package before adding it. If no results are printed, I assume that I will need to add the package. If the package exists but is not supported on my platform, I'd still like to know that it exists and to see where its definition can be found. What do you think? Mark