From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Updaters now receive package objects Date: Fri, 15 Apr 2016 10:42:07 +0200 Message-ID: <87k2jz9sbk.fsf_-_@gnu.org> References: <5647D2A8.8040603@uq.edu.au> <87h9kmb8zs.fsf@gnu.org> <5675F96E.4090609@uq.edu.au> <87ziwmqtle.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]:35456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqzKS-0007LS-7I for guix-devel@gnu.org; Fri, 15 Apr 2016 04:42:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqzKN-0004N9-Kx for guix-devel@gnu.org; Fri, 15 Apr 2016 04:42:16 -0400 In-Reply-To: (Ricardo Wurmus's message of "Tue, 5 Jan 2016 17:05:03 +0100") 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: Ricardo Wurmus Cc: "guix-devel@gnu.org" Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: > >>> +(define (latest-release guix-package) >>> + "Return an for the latest release of GUIX-PACKAGE." >>> + (let* ((pkg (specification->package guix-package)) >> >> Someone (Ricardo?) proposed recently to pass a package object instead of >> a package name to =E2=80=98latest-release=E2=80=99. >> >> We should do that ideally before this patch goes in, or otherwise soon. > > Yes, it was me. For the record, I just did that in commit 7d27a0259bc7a37c04b17ffc2953837fcc3e75ff (initially because I wanted to clean up the GNU updater, which I did in 63e8bb12a46fe6ff493e674fd7ccceb8729c6b47.) Ludo=E2=80=99.