unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Development of GNU Guix and the GNU System distribution
	<guix-devel@gnu.org>, Ryan Prior <ryanprior@hey.com>
Subject: Re: Finding versions of packages
Date: Tue, 15 Dec 2020 12:16:55 +0100	[thread overview]
Message-ID: <878s9znwt4.fsf@gnu.org> (raw)
In-Reply-To: <86im94o8z9.fsf@gmail.com> (zimoun's message of "Mon, 14 Dec 2020 13:41:46 +0100")

Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

> On Mon, 14 Dec 2020 at 11:38, Ludovic Courtès <ludo@gnu.org> wrote:
>
>> However, it might give the false idea that users can pick
>> package versions independently (as in: I want esbuild X, GCC Y, and Go
>> Z), which is not really the case: packages are interrelated.
>
> Someone tried that on help-guix.  The idea was to recreate a Python
> environment.  It was an extensive use of inferiors: one inferior per
> package.  We already discussed that when discussing how to recreate a
> profile from a <profile>/manifest file.  
>
> Just to point the manual about inferiors:
>
>    Sometimes you might need to mix packages from the revision of Guix
> you’re currently running with packages available in a different revision
> of Guix.  Guix “inferiors” allow you to achieve that by composing
> different Guix revisions in arbitrary ways.
>
> Therefore, I want esbuild X (compiled with GCC A and foo A), GCC Y (compiled with
> foo B) and Go Z (compiled with foo C).  It is technically possible, right?

It is possible, and it’s nice to have.

However, doing such composition on a per-package basis and as the
default way of composing packages is inefficient and, more importantly,
the resulting compositions may not work.  A package written for Python 2
may not work with Python 3, and so on.

Ludo’.


  reply	other threads:[~2020-12-15 11:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-12 22:08 Finding versions of packages (was: [outreachy] Walk through the Git history) Ryan Prior
2020-12-14 10:38 ` Finding versions of packages Ludovic Courtès
2020-12-14 12:41   ` zimoun
2020-12-15 11:16     ` Ludovic Courtès [this message]
2020-12-15 13:03       ` zimoun
2020-12-18 15:21         ` Ludovic Courtès
2020-12-14 12:31 ` Finding versions of packages (was: [outreachy] Walk through the Git history) zimoun

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=878s9znwt4.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ryanprior@hey.com \
    --cc=zimon.toutoune@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.
Code repositories for project(s) associated with this public inbox

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

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).