mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2025-01-07 06:31:42 +01:00
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:
parent
a21f497504
commit
9814d2f566
1 changed files with 21 additions and 0 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue