From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: bug#25118: All ruby packages replaced by version 2.3.3 Date: Tue, 6 Dec 2016 08:45:10 +1000 Message-ID: <845e4bcb-3571-2f00-b12b-65334360040f@uq.edu.au> References: <61e4c3b3-5491-ebe6-f111-0de25a9f33c1@digital.cabinet-office.gov.uk> <20161205214212.GA21176@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cE21O-0004JS-PS for bug-guix@gnu.org; Mon, 05 Dec 2016 17:46:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cE21K-0000Nu-S8 for bug-guix@gnu.org; Mon, 05 Dec 2016 17:46:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cE21K-0000Ng-Pc for bug-guix@gnu.org; Mon, 05 Dec 2016 17:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cE21K-00072M-Ge for bug-guix@gnu.org; Mon, 05 Dec 2016 17:46:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20161205214212.GA21176@jasmine> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari , Christopher Baines Cc: 25118@debbugs.gnu.org On 06/12/16 07:42, Leo Famulari wrote: > On Mon, Dec 05, 2016 at 01:18:04PM +0000, Christopher Baines wrote: >> On master (8f35c0306192c4b62646f2aa02879c2a8c4f4a07), as ruby 2.3.1 is >> replaced by 2.3.3, and all ruby packages inherit from ruby 2.3.1, all >> versions of ruby end up being 2.3.3. >> >> For example: >> → guix environment --container --ad-hoc --pure -e "(begin (use-modules >> (gnu packages ruby)) ruby-2.1)" -- ruby --version >> >> ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux] >> >> Removing the replacement line, or adding (replacement #f) to the other >> packages fixes this. > Thanks for the report! > > This should be fixed in 6e02766d433c8d5f56af628fbcaf5f2ca6e63953 (gnu: > ruby-2.2, ruby-2.1, ruby-1.8: Don't replace with ruby-2.3.3.). Yes, thanks both of you, and apologies for my mistake. In future we should probably not inherit from the newest Ruby, but instead from the older ones so this is less likely to happen again. ben