diff options
author | Brice Waegeneire <brice@waegenei.re> | 2021-05-31 21:44:02 +0200 |
---|---|---|
committer | Brice Waegeneire <brice@waegenei.re> | 2021-05-31 21:57:26 +0200 |
commit | 8a0dc5f1bfba4493d2460bf05be9aff200a9bd04 (patch) | |
tree | 004b8eb354d9b4be853b807ad08a7d0442295235 /doc | |
parent | eb8928eebab3c00dc2835564da383639ca3539b7 (diff) | |
download | guix-8a0dc5f1bfba4493d2460bf05be9aff200a9bd04.tar.gz |
tests: Fix loadable-kernel-modules-service tests.
* gnu/tests/linux-modules.scm (run-loadable-kernel-modules-service-test): Actually load the modules with kernel-module-loader-service-type. Use a singleton service instead of defining a custom one. * doc/guix.texi (Service Reference): To give an example of linux-loadable-module-service-type use a singleton instead of defining a new service.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 0126099d68..39dc2446ef 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -76,7 +76,7 @@ Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* -Copyright @copyright{} 2020 Brice Waegeneire@* +Copyright @copyright{} 2020, 2021 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* @@ -34379,13 +34379,10 @@ This service type is intended to be extended by other service types, such as below: @lisp -(define module-installing-service-type - (service-type - (name 'module-installing-service) - (extensions (list (service-extension linux-loadable-module-service-type - (const (list module-to-install-1 - module-to-install-2))))) - (default-value #f))) +(simple-service 'installing-module + linux-loadable-module-service-type + (list module-to-install-1 + module-to-install-2)) @end lisp This does not actually load modules at bootup, only adds it to the |