all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix environment --ad-hoc should work the other way round
@ 2016-04-24 12:09 Hartmut Goebel
  2016-04-24 14:37 ` Thompson, David
  0 siblings, 1 reply; 2+ messages in thread
From: Hartmut Goebel @ 2016-04-24 12:09 UTC (permalink / raw)
  To: help-guix

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 |

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-24 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-24 12:09 guix environment --ad-hoc should work the other way round Hartmut Goebel
2016-04-24 14:37 ` Thompson, David

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.