all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Language library packages should require language package
Date: Sun, 24 Apr 2016 15:58:39 +0200	[thread overview]
Message-ID: <571CD10F.1010906@crazy-compilers.com> (raw)
In-Reply-To: <CAJ=RwfZAZtn-cZZgTi=SsvCKoDvPBRefOdr3mgZVswSKYNoaxQ@mail.gmail.com>

Am 24.04.2016 um 15:09 schrieb Thompson, David:
> That's not quite right. It will give you exactly what you asked for:
> an environment with only python-requests used in it. python-requests
> defines no search paths, so no environment variables are set. 


But where is `python-requests` then?


> No, this wouldn't be a good idea.  You used the --ad-hoc flag, which
> means "create an environment with *only* the direct packages I
> specified."  This behavior is correct and will not be changed. 

But this is description is at least misleading, if not wrong. `guix
environment --ad-hoc python python-requests` does not only install
python and python-requests, but also pytest, pytest-coverage, wheel (and
some more).

But you are missing my main point: While `guix environment --ad-hoc
python-requests` installs some depended python packages, it does not
install `python`. This is asymmetric and quite different than users are
used from rpm and deb based systems.

To take this one step further: Assume in GuixSD 1.3 some user is told
"install python-bla-blub vai the Guix Package Manager GUI", then she
ends up with an incomplete environment. She would have to figure out
what other dependencies (esp. the language interpreter) are required.

This is why I'm proposing to add the dependency to the language interpreter.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

  reply	other threads:[~2016-04-24 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-24 12:24 Language library packages should require language package Hartmut Goebel
2016-04-24 13:09 ` Thompson, David
2016-04-24 13:58   ` Hartmut Goebel [this message]
2016-04-24 22:07     ` Ludovic Courtès
2016-04-24 13:17 ` Thompson, David

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=571CD10F.1010906@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --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.