mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2025-01-03 12:41:43 +01:00
services: nvidia: Use correct nvidia-smi.
* nongnu/services/nvidia.scm (nvidia-shepherd-service) [nvidia-shepherd-service]: Use let*. Reported-by: Murilo <murilo@disroot.org>
This commit is contained in:
parent
6dce8b9bc7
commit
da06a007f8
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@
|
||||||
(default nvidia-module))) ; file-like
|
(default nvidia-module))) ; file-like
|
||||||
|
|
||||||
(define (nvidia-shepherd-service config)
|
(define (nvidia-shepherd-service config)
|
||||||
(let ((nvidia-driver (nvidia-configuration-driver config))
|
(let* ((nvidia-driver (nvidia-configuration-driver config))
|
||||||
(nvidia-smi (file-append nvidia-driver "/bin/nvidia-smi")))
|
(nvidia-smi (file-append nvidia-driver "/bin/nvidia-smi")))
|
||||||
(list (shepherd-service
|
(list (shepherd-service
|
||||||
(documentation "Prepare system environment for NVIDIA driver.")
|
(documentation "Prepare system environment for NVIDIA driver.")
|
||||||
(provision '(nvidia))
|
(provision '(nvidia))
|
||||||
|
|
Loading…
Reference in a new issue