From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 1/4] lint: Add packages with suffix ':bin' to 'inputs-should-be-native'. Date: Thu, 21 Jul 2016 14:24:36 +0200 Message-ID: <87y44vnpq3.fsf@gnu.org> References: <20160719164916.6597-1-david@craven.ch> <20160719164916.6597-2-david@craven.ch> <87r3aobnoi.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:4830:134:3::10]:33903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQD1w-0005Gn-T3 for guix-devel@gnu.org; Thu, 21 Jul 2016 08:24:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQD1r-0001GF-VO for guix-devel@gnu.org; Thu, 21 Jul 2016 08:24:43 -0400 In-Reply-To: (David Craven's message of "Wed, 20 Jul 2016 12:50:49 +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: David Craven Cc: guix-devel David Craven skribis: >> I think packages with a =E2=80=9Cbin=E2=80=9D output are not always used= as native >> inputs, so I would drop this rule. > > From searching the code-base we have I couldn't find a counter example. Do > you think it's ok to check for glib:bin specifically? Yes, sounds good to me. However, make sure to match on the package name + output, not on the label. That is, =E2=80=98lint=E2=80=99 should correctly diagnose something= like: (inputs `(("somethingsilly" ,glib "bin"))) Thanks! Ludo=E2=80=99.