From: "Thompson, David" <dthompson2@worcester.edu>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: guix environment --ad-hoc should work the other way round
Date: Sun, 24 Apr 2016 10:37:51 -0400 [thread overview]
Message-ID: <CAJ=RwfaV0MoboLP27pue1VyYbPGjgtstX_rS4s1RJxdBNKceeA@mail.gmail.com> (raw)
In-Reply-To: <571CB76F.8070205@crazy-compilers.com>
On Sun, Apr 24, 2016 at 8:09 AM, Hartmut Goebel
<h.goebel@crazy-compilers.com> wrote:
> 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.)
I disagree. One of the main use-cases of 'guix environment' is
including a "guix.scm" file in your project's source code repository
that includes a development package so new developers can run 'guix
environment -l guix.scm' to get all of the dependencies of that
package and start hacking.
I think the current behavior should remain unchanged.
- Dave
prev parent reply other threads:[~2016-04-24 14:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-24 12:09 guix environment --ad-hoc should work the other way round Hartmut Goebel
2016-04-24 14:37 ` Thompson, David [this message]
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='CAJ=RwfaV0MoboLP27pue1VyYbPGjgtstX_rS4s1RJxdBNKceeA@mail.gmail.com' \
--to=dthompson2@worcester.edu \
--cc=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.