all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: Ivan Vilata i Balaguer <ivan@selidor.net>
Cc: help-guix@gnu.org
Subject: Re: About conflicting entries in a profile
Date: Sat, 11 May 2019 19:59:35 +0200	[thread overview]
Message-ID: <20190511195935.5571acab@alma-ubu> (raw)
In-Reply-To: <20190510221250.GF11938@sax.terramar.selidor.net>

[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]

On Fri, 10 May 2019 18:12:50 -0400
Ivan Vilata i Balaguer <ivan@selidor.net> wrote:

> Julien Lepiller (2019-05-10 08:23:22 +0200) wrote:
> 
> > >[…] What I don't get is *why* having two different versions of
> > >``python-attrs`` in the profile is considered an error.  My
> > >understanding was that two different packages in the profile
> > >should be able to depend on different versions of the same library
> > >without problems, since they are referred by its absolute path in
> > >the store so they don't conflict.  I understand that I may not
> > >directly ``guix install`` two versions of the same package
> > >(because the may e.g. put the same entry under
> > >``$GUIX_PROFILE/bin``), but in my case ``python-attrs`` is just a
> > >dependency package which doesn't show up in ``guix package -I``.
> > >
> > >Can anybody shed some light on the issue?  Thanks! […]  

Just one more note: Whenever you really NEED to somehow have two
versions of the same package installed or two packages with conflicting
propagated inputs, a solution is to install them in two different
profiles:

# Install latest guile in standard profile:
$ guix package -i guile

# Install older version into different profile:
$ guix package --profile=/home/me/test-profile -i guile@2.0

See the manual for details :-)

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

      reply	other threads:[~2019-05-11 17:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-09 23:53 About conflicting entries in a profile Ivan Vilata i Balaguer
2019-05-10  6:23 ` Julien Lepiller
2019-05-10 22:12   ` Ivan Vilata i Balaguer
2019-05-11 17:59     ` Björn Höfling [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190511195935.5571acab@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=help-guix@gnu.org \
    --cc=ivan@selidor.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.