nongnu: Add nvidia-driver-beta.

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

Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
Nicolas Graves 2024-11-04 21:07:27 +08:00 committed by Hilton Chain
parent a21f497504
commit 9814d2f566
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -432,6 +432,27 @@ mainly used as a dependency of other packages. For user-facing purpose, use
(license:nonfree
(format #f "file:///share/doc/nvidia-driver-~a/LICENSE" version)))))
(define-public nvidia-driver-beta
(package
(inherit nvidia-driver)
(name "nvidia-driver-beta")
(version "560.31.02")
(source (nvidia-source
version "1399rm9njb1f9bip0fdaq3krq8pq89k7b8yfv3jygc8579x21k6i"))
(arguments
(substitute-keyword-arguments (package-arguments nvidia-driver)
((#:install-plan plan)
#~(cons '("nvidia_icd_vksc.json" "etc/vulkansc/icd.d/")
#$plan))
((#:phases phases)
#~(modify-phases #$phases
(add-after 'create-misc-files 'create-misc-files-for-beta
(lambda _
;; VulkanSC ICD configuration
(substitute* "nvidia_icd_vksc.json"
(("libnvidia-vksc-core\\.so\\.." all)
(string-append #$output "/lib/" all)))))))))))
(define-public nvidia-libs
(deprecated-package "nvidia-libs" nvidia-driver))