guix/gnu
Maxim Cournoyer d03de6be0a
vm: Auto-detect if inputs should be registered.
The default value of the argument REGISTER-CLOSURE? of the ISO9660-IMAGE,
QEMU-IMAGE and SYSTEM-DOCKER-IMAGE procedures can be computed automatically,
since the operating-system definition is available in its context.  When the
operating-system definition does not contain the GUIX-SERVICE-TYPE, do not
register the closure in the database of Guix, as it takes time and doesn't
serve a purpose.

* gnu/system/vm.scm (has-guix-service-type): Add predicate.
(iso9660-image)[register-closures?]: Use it to compute the argument's default
value.
(qemu-image)[register-closures?]: Likewise, and update docstring.
(system-docker-image)[register-closures?]: Likewise.
(system-disk-image): Do not explicit a value for the REGISTER-CLOSURES?
argument of the ISO9660-IMAGE and QEMU-IMAGE procedure calls, so that its
default value is used instead.
* guix/scripts/system.scm (system-derivation-for-action): Do not explicit a
value for the REGISTER-CLOSURES? argument of the SYSTEM-DOCKER-IMAGE
procedure call, so that its default value is used instead.
2019-05-13 22:59:09 -04:00
..
bootloader bootloader: grub: Remove unneeded 'terminal_output'. 2019-05-09 12:11:36 +02:00
build shepherd: Include /etc/localtime in service containers. 2019-05-03 17:47:29 +02:00
installer installer: Create btrfs file system. 2019-05-14 00:44:03 +02:00
packages gnu: cqfd: Update to 5.1.0. 2019-05-13 21:50:34 -04:00
services services: prometheus-node-exporter add default. 2019-05-13 15:28:37 +02:00
system vm: Auto-detect if inputs should be registered. 2019-05-13 22:59:09 -04:00
tests services: Log-in services now require "pam_loginuid". 2019-05-09 12:11:36 +02:00
artwork.scm
bootloader.scm
ci.scm
installer.scm installer: Use 'glibc-supported-locales'. 2019-05-13 23:46:08 +02:00
local.mk installer: Use 'glibc-supported-locales'. 2019-05-13 23:46:08 +02:00
packages.scm
services.scm services: 'gc-root-service-type' now has a default value. 2019-05-10 23:29:18 +02:00
system.scm system: Export 'operating-system-default-essential-services'. 2019-05-10 23:29:18 +02:00
tests.scm