diff --git a/nongnu/services/nvidia.scm b/nongnu/services/nvidia.scm index 81a5d5f..adb9e9c 100644 --- a/nongnu/services/nvidia.scm +++ b/nongnu/services/nvidia.scm @@ -27,8 +27,8 @@ (default nvidia-module))) ; file-like (define (nvidia-shepherd-service config) - (let ((nvidia-driver (nvidia-configuration-driver config)) - (nvidia-smi (file-append nvidia-driver "/bin/nvidia-smi"))) + (let* ((nvidia-driver (nvidia-configuration-driver config)) + (nvidia-smi (file-append nvidia-driver "/bin/nvidia-smi"))) (list (shepherd-service (documentation "Prepare system environment for NVIDIA driver.") (provision '(nvidia))