all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roel Janssen <roel@gnu.org>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: In need for a simple "join build container"
Date: Tue, 06 Jun 2017 16:16:48 +0200	[thread overview]
Message-ID: <rbuvao9fbfz.fsf@gnu.org> (raw)
In-Reply-To: <5936902D.5010502@crazy-compilers.com>


Hartmut Goebel writes:

> Hi,
>
> I find myself debugging some package test-cases quite often. This is
> *very* time-consuming, esp. if compiling the source takes several minutes.
>
> So what I need is something to drop me into an interactive shell if the
> build fails.
>
> At the moment for these cases I try setting of an environment (see my
> other post just a few minutes ago). But this setup is quite complicated
> (so I wrote a wrapper-shell-script) and error-prone. And I assume,
> others packagers will need this, too.
>
> My ideal solution would be something like
>
>     guix build --shell-on-failure mypackage
>
> Should I open a bug-report for this?

I would find this really useful as I usually do the manual steps:
guix build -K <package>
cd <package-build-dir>
bash
. environment_variables
cd <actual_source_dir>

Which is suboptimal because then you're not the build user in an
isolated environment.

Kind regards,
Roel Janssen

  reply	other threads:[~2017-06-06 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06 11:21 In need for a simple "join build container" Hartmut Goebel
2017-06-06 14:16 ` Roel Janssen [this message]
2017-06-07 12:30   ` Ludovic Courtès

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=rbuvao9fbfz.fsf@gnu.org \
    --to=roel@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /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.