From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Foreign packages (formerly Re: [PATCH] gnu: Add ruby-nokogiri) Date: Sun, 21 Feb 2016 13:05:20 +0100 Message-ID: <20160221120520.GB29139@thebird.nl> References: <20150713130956.GC28969@thebird.nl> <877fq4i41n.fsf@elephly.net> <20150714090613.GA1523@thebird.nl> <20160217223708.GA7805@thebird.nl> <56C4FCB6.2080108@uq.edu.au> <20160218062534.GA9060@thebird.nl> <87io1i48k5.fsf@elephly.net> <56C9A4A3.9070602@uq.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXSmP-0007r7-U9 for guix-devel@gnu.org; Sun, 21 Feb 2016 07:06:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXSmM-0003ih-Of for guix-devel@gnu.org; Sun, 21 Feb 2016 07:06:25 -0500 Received: from mail.thebird.nl ([95.154.246.10]:35184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXSmM-0003iW-J8 for guix-devel@gnu.org; Sun, 21 Feb 2016 07:06:22 -0500 Content-Disposition: inline In-Reply-To: <56C9A4A3.9070602@uq.edu.au> 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: Ben Woodcroft Cc: "guix-devel@gnu.org" On Sun, Feb 21, 2016 at 09:50:59PM +1000, Ben Woodcroft wrote: > Maybe Ruby is easier though. Simply replace the foo in require 'foo' > with the first input where > /gnu/store/.../lib/ruby/gems/2.2.0/gems/.../lib/foo.rb is a file, I > think. Presumably the reality will be more complex, but does this > sound bad Pjotr? I can't oversee what it means to Guix. Traversing all the files would take some logic... But I don't think it is necessary. If the gem load path is correct there should be no real issues. Main problem is the shared profile between rubies and gems. See my previous E-mail in this thread. Pj.