From cbb9b59c119fa33da4be4ecfd87df3579084e835 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Mon, 21 Nov 2022 13:30:00 +0800 Subject: [PATCH] nongnu: Add nvidia-firmware. * nongnu/packages/nvidia.scm (nvidia-firmware): New variable. Signed-off-by: Jonathan Brielmaier --- nongnu/packages/nvidia.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index 5230270..3fdf7a0 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -266,6 +266,22 @@ nvidia-driver))}. Further xorg should be configured by adding: @code{(modules (license:nonfree (format #f "file:///share/doc/nvidia-driver-~a/LICENSE" version))))) +(define-public nvidia-firmware + (let ((base nvidia-driver)) + (package + (inherit base) + (name "nvidia-firmware") + (arguments + (list #:install-plan + #~'(("firmware" #$(string-append + "lib/firmware/nvidia/" (package-version base)))) + #:phases + #~(modify-phases %standard-phases + (delete 'strip)))) + (inputs '()) + (native-inputs '()) + (properties `((hidden? . #t)))))) + (define-public nvidia-exec (package (name "nvidia-exec")