diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index ee0d250..e82f3af 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -90,6 +90,7 @@ "CC=gcc") #t)) (delete 'check) + (delete 'strip) (add-after 'install 'install-copy (lambda* (#:key inputs native-inputs outputs #:allow-other-keys) (chdir "..") @@ -169,6 +170,11 @@ "rmmod " "ipmi_devintf" "\n")))) (chmod file #o555)) + ;; ------------------------------ + ;; nvidia-smi + + (install-file "nvidia-smi" bindir) + ;; ------------------------------ ;; patchelf (let* ((libc (assoc-ref inputs "libc")) @@ -199,7 +205,8 @@ (for-each (lambda (file) (when (elf-file? file) (patch-elf file))) - (find-files out ".*\\.so"))) + (find-files out ".*\\.so")) + (patch-elf (string-append bindir "/" "nvidia-smi"))) ;; ------------------------------ ;; Create short name symbolic links