From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH] gnu: Add ntp Date: Sat, 18 Oct 2014 18:03:51 -0400 Message-ID: <87tx31ox14.fsf@yeeloong.lan> References: <1413645106-14116-1-git-send-email-jmd@gnu.org> <87egu5qraf.fsf@yeeloong.lan> <20141018180813.28846.32077@vulcan.local.tld> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xfc7W-0002eA-T9 for guix-devel@gnu.org; Sat, 18 Oct 2014 18:05:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xfc7O-0005UB-KV for guix-devel@gnu.org; Sat, 18 Oct 2014 18:05:06 -0400 Received: from world.peace.net ([96.39.62.75]:39594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xfc7O-0005SM-HJ for guix-devel@gnu.org; Sat, 18 Oct 2014 18:04:58 -0400 In-Reply-To: <20141018180813.28846.32077@vulcan.local.tld> (Ian Denhardt's message of "Sat, 18 Oct 2014 14:08:13 -0400") 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: Ian Denhardt Cc: guix-devel@gnu.org Ian Denhardt writes: > Quoting Mark H Weaver (2014-10-18 12:24:56) >> (string-join (take (string-split version #\.) 2) >> ".") > > > >> I suppose we should add a procedure specifically for this, but >> it can wait, and it should be in a separate commit anyway. > > I'm going to grab this and try to have a patch submitted today or > tomorrow. Sounds good! > Does guix/utils.scm seem like a sensible place to put this? Yes, it fits in well with 'version-compare' and 'version>?'. Thanks, Mark