all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: guix-devel@gnu.org
Subject: Re: Reproducible environments
Date: Wed, 07 Oct 2015 14:11:51 +0200	[thread overview]
Message-ID: <87d1wq7u9k.fsf@gnu.org> (raw)
In-Reply-To: <22035.65024.910687.992427@Konrad-Hinsens-MacBook-Pro-2.local> (Konrad Hinsen's message of "Tue, 6 Oct 2015 18:59:44 +0200")

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

> Here's an example (a simplified version of the real situation that motivated
> me to check out Guix):
>
>    - I need to use Program X that depends on libraries A and B.
>    - The current versions are A-1.1 and B-42.0.1.
>    - X requires "1.0 or later" for A but "41.*"  for B, because
>      version 42.* of B is not fully backwards compatible.
>
> If there's no Guix commit that has both A and B in the required
> version range, then the easiest way to get what I need is to use an
> older Guix commit for installing B than I use for A.

That works if you use ‘guix package -i’ to incrementally build the
profile, using different Guix commits; but it prevents you from using
the declarative ‘--manifest’ approach.

> In fact, the only other alternative I see is to add a package definition
> for the old version of B to a later Guix commit. That's likely to be
> much more difficult.

It depends, but not necessarily.  It’s particularly easy to maintain
different versions of leaf packages, as shown in Figure 4 of the paper.

Ludo’.

  parent reply	other threads:[~2015-10-07 12:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 10:50 Reproducible environments Konrad Hinsen
2015-10-06 12:00 ` Pjotr Prins
2015-10-06 16:59   ` Konrad Hinsen
2015-10-06 18:59     ` Pjotr Prins
2015-10-07 12:11     ` Ludovic Courtès [this message]
2015-10-06 16:44 ` Ludovic Courtès

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=87d1wq7u9k.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=konrad.hinsen@fastmail.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.