From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Multiple versions Date: Sun, 27 Dec 2015 16:58:17 +0100 Message-ID: <20151227155817.GA1862@thebird.nl> References: <20151227052600.GA32379@thebird.nl> <20151227092027.GA1958@sagulo> <20151227124152.GA1249@thebird.nl> <20151227144002.GA23049@sagulo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDDiK-0007HV-HF for guix-devel@gnu.org; Sun, 27 Dec 2015 10:58:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDDiJ-0005LW-O3 for guix-devel@gnu.org; Sun, 27 Dec 2015 10:58:32 -0500 Content-Disposition: inline In-Reply-To: <20151227144002.GA23049@sagulo> 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: Dmitry Bogatov Cc: guix-devel@gnu.org On Sun, Dec 27, 2015 at 05:40:02PM +0300, Dmitry Bogatov wrote: > It makes sence. The only problem is find required hash. Is it any idea > to automate it? Not really. > > > In case of haskell/python/ruby libraries, I propose keep all versions > > > multiplied by every version of compiler/interpreter. > > > > I do the same with Ruby using profiles. I have any number of interpreters > > installed for testing and any number of libraries using either guix or > > the lib path with a profile in there. > > But how do you solve problem, that for example you want library foo-999.very.new, > compiled with ruby-1.8, but they never existed at same time in guix > package tree? You can use source trees with GUIX_PACKAGE_PATH. Maybe you'll have to move them to a source file. It is less hard than it looks if you are committed to the idea. Pj.