From da06a007f8ae6ae773e7ca6aacf70d5d2823c0b0 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 14 Dec 2024 00:28:22 +0800 Subject: [PATCH] services: nvidia: Use correct nvidia-smi. * nongnu/services/nvidia.scm (nvidia-shepherd-service) [nvidia-shepherd-service]: Use let*. Reported-by: Murilo --- nongnu/services/nvidia.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))