nongnu: Add nvidia-firmware.

* nongnu/packages/nvidia.scm (nvidia-firmware): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Hilton Chain 2022-11-21 13:30:00 +08:00 committed by Jonathan Brielmaier
parent 09b37c490e
commit cbb9b59c11
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -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")