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/5] profiles: Extract a procedure for getting relative generation numbers. Date: Sun, 06 Nov 2016 17:56:13 +0100 Message-ID: <87r36o35ua.fsf@gnu.org> References: <87d1ihscmr.fsf@gnu.org> <20161102054815.11253-1-cmmarusich@gmail.com> <20161102054815.11253-2-cmmarusich@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3Qk0-0008CV-A2 for guix-devel@gnu.org; Sun, 06 Nov 2016 11:56:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3Qjw-0006zY-Fj for guix-devel@gnu.org; Sun, 06 Nov 2016 11:56:20 -0500 In-Reply-To: <20161102054815.11253-2-cmmarusich@gmail.com> (cmmarusich@gmail.com's message of "Tue, 1 Nov 2016 22:48:11 -0700") 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: cmmarusich@gmail.com Cc: guix-devel@gnu.org cmmarusich@gmail.com skribis: > From: Chris Marusich > > * guix/profiles.scm (relative-generation-spec->number): New procedure. > * guix/scripts/package.scm (switch-generation-action): Use it. Applied!