mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-25 09:58:09 +01:00
nongnu: Use nvidia-version to define version for multiple packages.
* nongnu/packages/nvidia.scm (nvidia-driver, nvidia-libs, nvidia-settings): [version] Use nvidia-version variable instead of hardcoded-string. (nvidia-version): New variable. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
edc96d3477
commit
c664de6a55
1 changed files with 5 additions and 3 deletions
|
@ -57,10 +57,12 @@
|
|||
#:use-module (ice-9 match)
|
||||
#:use-module (srfi srfi-1))
|
||||
|
||||
(define nvidia-version "470.86")
|
||||
|
||||
(define-public nvidia-driver
|
||||
(package
|
||||
(name "nvidia-driver")
|
||||
(version "470.86")
|
||||
(version nvidia-version)
|
||||
(source
|
||||
(origin
|
||||
(uri (format #f "http://us.download.nvidia.com/XFree86/Linux-x86_64/~a/~a.run"
|
||||
|
@ -282,7 +284,7 @@ Further xorg should be configured by adding:
|
|||
(define-public nvidia-libs
|
||||
(package
|
||||
(name "nvidia-libs")
|
||||
(version "470.86")
|
||||
(version nvidia-version)
|
||||
(source
|
||||
(origin
|
||||
(uri (format #f "http://us.download.nvidia.com/XFree86/Linux-x86_64/~a/~a.run"
|
||||
|
@ -407,7 +409,7 @@ package.")
|
|||
(define-public nvidia-settings
|
||||
(package
|
||||
(name "nvidia-settings")
|
||||
(version "470.86")
|
||||
(version nvidia-version)
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
|
Loading…
Reference in a new issue