all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#36668] [PATCH 0/1] Add 'eval/container'
@ 2019-07-15 14:21 Ludovic Courtès
  2019-07-15 14:25 ` [bug#36668] [PATCH 1/1] linux-container: " Ludovic Courtès
  2019-07-15 15:22 ` [bug#36668] [PATCH 0/1] " Thompson, David
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-07-15 14:21 UTC (permalink / raw)
  To: 36668

Hello Guix!

This adds ‘eval/container’, which can be used to implement things that
are almost derivation (pure computational processes), but not quite:
processes that produce side effects, that need to access the daemon,
or that need to talk over the network.

It doesn’t have any users currently.  Guix-Jupyter-Kernel will probably
use it (to spawn proxied kernels in isolated environments), and I think
Ricardo had a use case for it in GWL too.

What do people think?

I wonder if we should target ‘run-in-container’ instead of
‘call-with-container’, or maybe both.  It’s also a bit troubling
that ‘eval/container’ returns an exit status instead of the evaluation
result, but I think it has to be this way, more or less.

Ludo’.

Ludovic Courtès (1):
  linux-container: Add 'eval/container'.

 gnu/system/linux-container.scm | 49 ++++++++++++++++++++++++++++++++-
 tests/containers.scm           | 50 ++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+), 1 deletion(-)

-- 
2.22.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-19  9:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-15 14:21 [bug#36668] [PATCH 0/1] Add 'eval/container' Ludovic Courtès
2019-07-15 14:25 ` [bug#36668] [PATCH 1/1] linux-container: " Ludovic Courtès
2019-07-15 15:22 ` [bug#36668] [PATCH 0/1] " Thompson, David
2019-07-15 15:51   ` Ludovic Courtès
2019-07-19  9:55     ` bug#36668: " Ludovic Courtès

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.