From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Language library packages should require language package Date: Sun, 24 Apr 2016 15:58:39 +0200 Message-ID: <571CD10F.1010906@crazy-compilers.com> References: <571CBB14.8090200@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auKYh-0006QY-5i for guix-devel@gnu.org; Sun, 24 Apr 2016 09:58:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auKYd-0001pu-Uj for guix-devel@gnu.org; Sun, 24 Apr 2016 09:58:47 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:49089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auKYd-0001pb-OB for guix-devel@gnu.org; Sun, 24 Apr 2016 09:58:43 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: "Thompson, David" Cc: guix-devel 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.=20 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.=20 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 interpret= er. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |