guix-devel/guix/scripts
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
..
container
import
system
archive.scm
authenticate.scm
build.scm build: Change default substitute server to "ci.guix.gnu.org". 2019-05-01 11:05:47 +02:00
challenge.scm
container.scm
copy.scm
describe.scm
download.scm
edit.scm
environment.scm environment: Non ad-hoc mode also honors transformation options. 2019-05-07 15:46:53 +02:00
gc.scm
graph.scm
hash.scm
import.scm
install.scm
lint.scm
offload.scm
pack.scm
package.scm ui: Make package outputs searchable. 2019-05-09 00:10:34 -07:00
perform-download.scm
processes.scm processes: Gracefully handle daemons without clients. 2019-04-29 21:54:10 +02:00
publish.scm
pull.scm pull: Display 'hash guix' hint when the new and old 'guix' are different. 2019-05-09 17:42:31 +02:00
refresh.scm
remove.scm
repl.scm
search.scm guix package: Add 'guix search' alias. 2019-04-29 12:19:24 +02:00
size.scm
substitute.scm build: Change default substitute server to "ci.guix.gnu.org". 2019-05-01 11:05:47 +02:00
system.scm vm: Auto-detect if inputs should be registered. 2019-05-13 22:59:09 -04:00
upgrade.scm
weather.scm