all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: [PATCH] Add yaggo.
Date: Wed, 24 Jun 2015 21:23:37 +0200	[thread overview]
Message-ID: <20150624192337.GA32347@thebird.nl> (raw)
In-Reply-To: <CAJ=RwfbF7Yg0+cVOTzTYhbqEPFdnQujh0VsXKY8Q0egSKDUt5A@mail.gmail.com>

On Wed, Jun 24, 2015 at 08:32:51AM -0400, Thompson, David wrote:
> I don't know about $GEM_SPEC_CACHE, but $GEM_HOME cannot be a native
> search path that is part of our ruby packages, because native search
> paths are relative to store items, which are immutable.  My feeling is
> that if the user wants to use the 'gem' utility instead of using Guix
> packages, they're going to have to set an environment variable or two
> by themselves.

It is just a convenience. I believe GNU Guix should allow extra
package systems - like those of emacs. So point GEM_HOME to something
that is not immutable.

> > which would install directly from rubygems.org (including contained
> > dependencies when missing in the existing environment).
> 
> Are you saying that it would bundle the dependencies if there were no
> Guix packages for them?

Exactly.

> > This would greatly facilitate adding Ruby gems to guix.
> 
> I must reiterate my concern about this approach to the wider
> guix-devel audience.  From what I can see, the gem archives hosted on
> rubygems.org are build artifacts and should probably be treated like
> pre-built binaries.  They are not the complete, corresponding source
> code.  Can anyone else weigh in here?  I understand the convenience of
> using rubygems.org, but I really need some evidence that the archives
> hosted there are complete, corresponding source code.

Please see it as a migration path. There are tens of thousands of
useful gems out there with complex dependencies. There is no way we
are going to replace and test those overnight. Same for Python and
Perl modules (and all those other languages with their own module
system). I do favour pure Guix packages, also for gems, so we should
aim for replacing the most important ones over time. 

Making it hard(er) to install gems from GNU Guix for normal users will
only slow down adoption. Allow using rubygems for those gems that are
not (yet) supported by us. When enough Ruby people move to using Guix
for their development we may get rid of rubygems altogether. I would
love that. I already got rid of rvm :)

Nix experimented by converting all gems to Nix packages, that is
another possibility. But I think they proved it is hard and now
defunct (correct me if I am wrong). 

Pj.

  parent reply	other threads:[~2015-06-24 19:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-24  4:35 [PATCH] Add yaggo Ben Woodcroft
2015-06-24  5:51 ` Pjotr Prins
2015-06-24 12:32   ` Thompson, David
2015-06-24 13:05     ` Ricardo Wurmus
2015-06-24 19:23     ` Pjotr Prins [this message]
2015-06-25 22:47       ` Thompson, David
2015-06-26  6:56         ` Ricardo Wurmus
2015-06-26  7:40           ` Pjotr Prins
2015-06-24 12:19 ` Thompson, David
2015-06-24 23:41   ` Ben Woodcroft
2015-06-25 22:25     ` Thompson, David
2015-07-05  7:33 ` Mark H Weaver
2015-07-05 11:33   ` Ben Woodcroft

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=20150624192337.GA32347@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    /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.