Skip to content
Snippets Groups Projects
Unverified Commit 5df412bf authored by Sou Bunnbu (宋文武)'s avatar Sou Bunnbu (宋文武)
Browse files

services: libvirtd: Use '/run/current-system/profile/bin' as PATH.

This is a followup to ef640db2.

* gnu/services/virtualization.scm (libvirt-shepherd-service): Set
'#:environment-variables' for 'make-forkexec-constructor'.
parent ae9b6dba
No related branches found
No related tags found
No related merge requests found
......@@ -432,7 +432,10 @@ (define (libvirt-shepherd-service config)
(provision '(libvirtd))
(start #~(make-forkexec-constructor
(list (string-append #$libvirt "/sbin/libvirtd")
"-f" #$config-file)))
"-f" #$config-file)
#:environment-variables
;; For finding qemu binaries.
'("PATH=/run/current-system/profile/bin")))
(stop #~(make-kill-destructor))))))
(define libvirt-service-type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment