[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installing different versions of the same module

From: Amirouche
Subject: Re: installing different versions of the same module
Date: Sun, 7 May 2017 12:59:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Le 07/05/2017 à 12:55, Amirouche a écrit :

Le 07/05/2017 à 05:08, Mike Gran a écrit :
On Saturday, May 6, 2017 2:00 PM, Tim Chadburn <address@hidden> wrote:

Is it possible to have multiple different versions of the same module installed >at the same time? Having read the documentation and inspected existing >installed modules, the answer would appear to be "no", but I thought I'd better >make sure.

The simple answer is no.

But, you can install the different versions
in different paths and then change environment variables like
GUILE_LOAD_PATH to make sure you are picking the one that you want.

Of course, you can make it work if you really want to by
more drastic means that probably require that you load
the files at run-time or that you modify the modules to have
different 'define-module' declarations

Also it's possible to do in guix

I have no example at hand. You can set up environments using guix which will automatically setup the environment variables for you where you have a given version of dependency while your regular GUILE_LOAD_PATH has another version of the same lib or not at all.

That is what guix-tox afaiu for python deps.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]