summaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorStefan <stefan-guix@vodafonemail.de>2021-01-07 21:44:22 +0100
committerLudovic Courtès <ludo@gnu.org>2021-01-16 22:38:17 +0100
commitd4f5ea502d2c8358c2cf5fffd96cba0ac233984f (patch)
treebbab839f460b4161cadd3f3eacf7374d79cd2b88 /doc/guix.texi
parent2a333f2535a65bfa3607ef50591e9f5dbc6970d1 (diff)
downloadguix-patches-d4f5ea502d2c8358c2cf5fffd96cba0ac233984f.tar
guix-patches-d4f5ea502d2c8358c2cf5fffd96cba0ac233984f.tar.gz
services: qemu-binfmt: 'guix-support?' defaults to #t.
* gnu/services/virtualization.scm (qemu-binfmt-service-type)[guix-support?]: Change the default from #f to #t. * doc/guix.texi (Transparent Emulation with QEMU): Change the default of ‘guix-support?’ from #f to #t. Describe the implication of setting it to #f. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index cea7f8a8cf..1234834945 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -27338,7 +27338,7 @@ This is the configuration for the @code{qemu-binfmt} service.
The list of emulated QEMU platforms. Each item must be a @dfn{platform
object} as returned by @code{lookup-qemu-platforms} (see below).
-@item @code{guix-support?} (default: @code{#f})
+@item @code{guix-support?} (default: @code{#t})
When it is true, QEMU and all its dependencies are added to the build
environment of @command{guix-daemon} (@pxref{Invoking guix-daemon,
@option{--chroot-directory} option}). This allows the @code{binfmt_misc}
@@ -27367,6 +27367,10 @@ build}, transparently using QEMU to emulate the ARMv7 CPU. Pretty handy
if you'd like to test a package build for an architecture you don't have
access to!
+When @code{guix-support?} is set to @code{#f}, programs for other
+architectures can still be executed transparently, but invoking commands
+like @command{guix build -s armhf-linux @dots{}} will fail.
+
@item @code{qemu} (default: @code{qemu})
The QEMU package to use.
@end table