From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: help-guix@gnu.org
Subject: guix environment --ad-hoc should work the other way round
Date: Sun, 24 Apr 2016 14:09:19 +0200 [thread overview]
Message-ID: <571CB76F.8070205@crazy-compilers.com> (raw)
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 |
next reply other threads:[~2016-04-24 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-24 12:09 Hartmut Goebel [this message]
2016-04-24 14:37 ` guix environment --ad-hoc should work the other way round 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=571CB76F.8070205@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=help-guix@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.