From: ludo@gnu.org (Ludovic Courtès)
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: 'guix environment' as a build tool.
Date: Sun, 31 Jul 2016 15:55:37 +0200 [thread overview]
Message-ID: <87h9b56heu.fsf@gnu.org> (raw)
In-Reply-To: <CAJ=Rwfbm-emzkrdp2C7yiiDqK66qe338GreMn56v6Oju=p-9mA@mail.gmail.com> (David Thompson's message of "Sat, 30 Jul 2016 22:20:42 -0400")
Hello!
"Thompson, David" <dthompson2@worcester.edu> skribis:
> On Sat, Jul 30, 2016 at 10:05 PM, Mathieu Lirzin <mthl@gnu.org> wrote:
>> ludo@gnu.org (Ludovic Courtès) writes:
[...]
>>> What about providing a ‘guix.scm’ file that people could pass to ‘guix
>>> environment -l’ (instead of typing the long command above), and to ‘guix
>>> package -f’ (info "(guix) Invoking guix package")?
>>
>> 'guix environment -l' uses a package definition. To me this abstraction
>> doesn't fit well in a development context:
>
> It *does* fit well. This use-case is why I wrote 'guix environment'
> in the first place.
[...]
>> if the user wants to enter this environment Later it will have to invoke
>> './guix-env'.
>
> This just makes things more inconvenient and limits potential utility.
That sounds harsh.
I don’t have a better answer for Mathieu other than ‘guix environment
-l’, and I think it does the job well.
But I also think that Mathieu’s concerns must not be dismissed. For
instance, it’s true that some of the metadata in ‘package’ forms looks
irrelevant for the purposes of setting up a build environment—no big
deal, but still it doesn’t “feel” completely right.
Conversely, useful metadata is missing: for instance, I’d like to add
something that would allow me to specify the equivalent of ‘--network
--expose=$HOME/.gdbinit’ in development environments I use.
Perhaps the solution is to introduce a new way to declare development
environments? It would be similar to ‘package’, but without ‘synopsis’,
‘description’, and a couple other things; it could have additional
fields to describe container setups and such likes; it would compile
down to a bag, just like packages.
What do you think?
Thanks,
Ludo’.
next prev parent reply other threads:[~2016-07-31 13:55 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-29 20:10 [GSoC] Continuous integration tool à la Hydra Mathieu Lirzin
2016-05-30 21:34 ` Ludovic Courtès
2016-05-30 21:54 ` Ludovic Courtès
2016-06-20 22:44 ` Mathieu Lirzin
2016-06-24 12:42 ` Ludovic Courtès
2016-07-25 0:30 ` Mathieu Lirzin
2016-07-25 21:36 ` Ludovic Courtès
2016-07-27 14:28 ` Mathieu Lirzin
2016-07-28 12:38 ` Ludovic Courtès
2016-07-29 11:20 ` Florian Paul Schmidt
2016-07-29 19:26 ` Mathieu Lirzin
2016-07-30 22:49 ` Ludovic Courtès
2016-07-31 2:05 ` 'guix environment' as a build tool. (was: [GSoC] Continuous integration tool à la Hydra.) Mathieu Lirzin
2016-07-31 2:20 ` Thompson, David
2016-07-31 4:17 ` 'guix environment' as a build tool Mathieu Lirzin
2016-07-31 13:55 ` Ludovic Courtès [this message]
2016-07-31 14:07 ` Thompson, David
2016-07-31 20:09 ` Ludovic Courtès
2016-07-31 11:13 ` Ludovic Courtès
2016-07-31 7:09 ` [GSoC] Continuous integration tool à la Hydra Florian Paul Schmidt
2016-07-31 12:03 ` Mathieu Lirzin
2016-08-01 18:55 ` Florian Paul Schmidt
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9b56heu.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=dthompson2@worcester.edu \
--cc=guix-devel@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).