From: ludo@gnu.org (Ludovic Courtès)
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: multiple versions
Date: Sat, 16 Jul 2016 22:49:19 +0200 [thread overview]
Message-ID: <87mvlh71gw.fsf@gnu.org> (raw)
In-Reply-To: <CAEwRq=pma6zZhVsVN67ddKDr-FKipBjsdFthVLMZHJS1UQMBQw@mail.gmail.com> (Vincent Legoll's message of "Sat, 16 Jul 2016 15:57:38 +0200")
Hi,
Vincent Legoll <vincent.legoll@gmail.com> skribis:
> I m trying to get python3 & python2 installed for the same user
>
> guix package -i python@2 -i python@3
>
> but that does not look like it will do what I want:
>
> vince@guixsd ~/guix-packages$ guix package -i python@2 python@3
> 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 python@2
guix package -p pythree -i python@3
… or use ‘guix environment’:
guix environment --ad-hoc python@2
HTH!
Ludo’.
prev parent reply other threads:[~2016-07-16 20:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-16 13:57 multiple versions Vincent Legoll
2016-07-16 20:49 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mvlh71gw.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=help-guix@gnu.org \
--cc=vincent.legoll@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).