services: libvirt: Fixup setting LINUX_MODULE_DIRECTORY variable.

This is a follow-up to commit 614ba97d98 ("gnu: libvirt: Fix path to Linux
modules.gnu: libvirt: Fix path to Linux modules."), which I had inadvertently
broken with a small change before applying.  Apologies!

* gnu/services/virtualization.scm (libvirt-shepherd-service): Add missing
string append to form LINUX_MODULE_DIRECTORY variable definition.

Change-Id: I304bdf20584d475fb01e3da995f0eddf430fb73b
This commit is contained in:
Maxim Cournoyer 2025-03-18 09:57:14 +09:00
parent 11eb2c0ffc
commit 372802fe9a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -514,8 +514,9 @@ potential infinite waits blocking libvirt."))
(string-append
"PATH=/run/current-system/profile/bin:"
"/run/current-system/profile/sbin")
"LINUX_MODULE_DIRECTORY="
"/run/booted-system/kernel/lib/modules")))
(string-append
"LINUX_MODULE_DIRECTORY="
"/run/booted-system/kernel/lib/modules"))))
(stop #~(make-kill-destructor))))))
(define libvirt-service-type