guix-devel/gnu/system
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
..
examples vm-image: Add 'label' field. 2019-05-01 09:33:54 +02:00
accounts.scm accounts: Add default value for the 'home-directory' field of <user-account>. 2019-03-25 23:37:06 +01:00
file-systems.scm install: Use (guix store database) instead of 'guix-register'. 2018-06-14 11:16:59 +02:00
install.scm install: Add node name in Russian. 2019-05-13 10:50:27 +02:00
keyboard.scm Add (gnu system keyboard). 2019-03-24 23:06:11 +01:00
linux-container.scm linux-container: Support container network sharing. 2019-05-14 02:54:58 +05:30
linux-initrd.scm system: Initialize console keyboard layout in the initrd. 2019-03-24 23:06:12 +01:00
locale.scm locale: Add 'glibc-supported-locales'. 2019-05-13 23:46:08 +02:00
mapped-devices.scm linux-modules: Factorize 'missing-modules'. 2019-03-13 23:12:43 +01:00
nss.scm nss: Remove '%compat' from the defaults. 2018-03-27 23:26:15 +02:00
pam.scm system: pam: Add #:login-uid? parameter to 'unix-pam-service'. 2019-05-09 12:11:36 +02:00
shadow.scm services: account: Make 'user-homes' a one-shot service. 2019-04-23 16:38:12 +02:00
uuid.scm uuid: 'fat-uuid->string' preserves leading zeros. 2019-05-07 12:18:44 +02:00
vm.scm vm: Auto-detect if inputs should be registered. 2019-05-13 22:59:09 -04:00