help-guix
[Top][All Lists]
Advanced

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

Re: multiple versions


From: Ludovic Courtès
Subject: Re: multiple versions
Date: Sat, 16 Jul 2016 22:49:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi,

Vincent Legoll <address@hidden> skribis:

> I m trying to get python3 & python2 installed for the same user
>
> guix package -i address@hidden -i address@hidden
>
> but that does not look like it will do what I want:
>
> address@hidden ~/guix-packages$ guix package -i address@hidden address@hidden
> The following package will be downgraded:
>    python    3.4.3 → 2.7.10
> /gnu/store/7fm1qk703x47qzb9p6xg08cxgb009akz-python-2.7.10
>
> The following package will be upgraded:
>    python    3.4.3 → 3.4.3
> /gnu/store/dsp685maxqc1i6qcib77449g2b6b7qah-python-3.4.3

This is impossible.  A profile can contain at most one package of a
given name.

However, what you can do is create separate profiles:

  guix package -p pytwo -i address@hidden
  guix package -p pythree -i address@hidden

… or use ‘guix environment’:

  guix environment --ad-hoc address@hidden

HTH!

Ludo’.



reply via email to

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