From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: guix environment --ad-hoc should work the other way round Date: Sun, 24 Apr 2016 14:09:19 +0200 Message-ID: <571CB76F.8070205@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auIqx-0003vu-FH for help-guix@gnu.org; Sun, 24 Apr 2016 08:09:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auIqs-0002wt-Ez for help-guix@gnu.org; Sun, 24 Apr 2016 08:09:31 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:50636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auIqs-0002wo-8r for help-guix@gnu.org; Sun, 24 Apr 2016 08:09:26 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qt7Sh6RtFz3hj2R for ; Sun, 24 Apr 2016 14:09:24 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qt7Sh5stTzvhNC for ; Sun, 24 Apr 2016 14:09:24 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id bSE4FHMbVBl3 for ; Sun, 24 Apr 2016 14:09:20 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-140-186.dynamic.mnet-online.de [188.174.140.186]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sun, 24 Apr 2016 14:09:20 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 5D42460228 for ; Sun, 24 Apr 2016 14:09:19 +0200 (CEST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi, being quite new to guix and playing around with `guix environment`. I find it confusing and IMHO it is working the wrong way round: I'd expect it to get me an environment where the specified packages are installed. So I could easily test if a new version of a program works as expected. Instead I get an environment where the tools for building these packages are installed. What I actually need to type | What I'd expect to type ------------------------------------------------------------------ guix env --ad-hoc python-2.7 | guix env python-2.7 guix env python-2.7 --ad-hoc git | guix env git --XXX python-2.7 (Where XXX is placeholder for something like --for-building ;-) So basically I'd expect the meaning for the packages in front of `--ad-hock` exchanged with those behind. Please note that these are two different views on environments: The currently implemented view i the one of a developer, who wants to set up an environment for building quick. The other view is the one of a user, who wants to test packages. I'm in favor of changing `guix environment` to take the seconds view, since I assume, this will be the case uses much more often. (Even given that there ought to be no difference between developers and users, as most users simply will not even think about something like a build-environments.) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |