mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-29 03:34:11 +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 (ice-9 match)
|
||||||
#:use-module (srfi srfi-1))
|
#:use-module (srfi srfi-1))
|
||||||
|
|
||||||
|
(define nvidia-version "470.86")
|
||||||
|
|
||||||
(define-public nvidia-driver
|
(define-public nvidia-driver
|
||||||
(package
|
(package
|
||||||
(name "nvidia-driver")
|
(name "nvidia-driver")
|
||||||
(version "470.86")
|
(version nvidia-version)
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(uri (format #f "http://us.download.nvidia.com/XFree86/Linux-x86_64/~a/~a.run"
|
(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
|
(define-public nvidia-libs
|
||||||
(package
|
(package
|
||||||
(name "nvidia-libs")
|
(name "nvidia-libs")
|
||||||
(version "470.86")
|
(version nvidia-version)
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(uri (format #f "http://us.download.nvidia.com/XFree86/Linux-x86_64/~a/~a.run"
|
(uri (format #f "http://us.download.nvidia.com/XFree86/Linux-x86_64/~a/~a.run"
|
||||||
|
@ -407,7 +409,7 @@ package.")
|
||||||
(define-public nvidia-settings
|
(define-public nvidia-settings
|
||||||
(package
|
(package
|
||||||
(name "nvidia-settings")
|
(name "nvidia-settings")
|
||||||
(version "470.86")
|
(version nvidia-version)
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
|
Loading…
Reference in a new issue