From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Lint on line Date: Mon, 23 Nov 2015 10:46:47 +0100 Message-ID: <87h9kdvyig.fsf@gnu.org> References: <871tbhy6i6.fsf@gnu.org> <1448238160.3837620.446978289.1EAE4186@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ni2-0002uE-Ov for guix-devel@gnu.org; Mon, 23 Nov 2015 04:46:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0nhx-0003En-P6 for guix-devel@gnu.org; Mon, 23 Nov 2015 04:46:54 -0500 In-Reply-To: <1448238160.3837620.446978289.1EAE4186@webmail.messagingengine.com> (Leo Famulari's message of "Sun, 22 Nov 2015 19:22:40 -0500") 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: Leo Famulari Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Leo Famulari skribis: > What is the recommended way to handle the following warning? > > "gnu/packages/firmware.scm:33:12: ath9k-htc-firmware-1.4.0: the source > file name should contain the package name" Like this: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 97f2975..271fb49 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -38,6 +38,7 @@ (sha256 (base32 "16jbj8avg5jkgvq5lxm0hdxxn4c3zn7fx8b4nxllvr024apk9w23")) + (file-name (string-append name "-" version "-checkout")) (patches (list (search-patch "ath9k-htc-firmware-objcopy.patch"))))) (build-system gnu-build-system) (arguments --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I=E2=80=99ll push this one. ;-) The goal of this rule is to make sure that checkouts are given meaningful names. This does not make any functional difference, but it helps keep the store tidy. Thanks, Ludo=E2=80=99. --=-=-=--