nongnu: nvda: Pad version to the length of mesa version.

* nongnu/packages/nvidia.scm (nvda)[version]: Pad to the length of mesa version.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
Hilton Chain 2024-01-08 10:39:40 +08:00 committed by John Kehayias
parent 2ae8a04b57
commit b0ebc7cb24
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -608,6 +608,10 @@ configuration, creating application profiles, gpu monitoring and more.")
(package (package
(inherit nvidia-driver) (inherit nvidia-driver)
(name "nvda") (name "nvda")
(version (string-pad-right
(package-version nvidia-driver)
(string-length (package-version mesa))
#\0))
(source #f) (source #f)
(build-system trivial-build-system) (build-system trivial-build-system)
(arguments (arguments