guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In need for a simple "join build container"


From: Roel Janssen
Subject: Re: In need for a simple "join build container"
Date: Tue, 06 Jun 2017 16:16:48 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]