nongnu: nvidia-driver: Fix non-x86 builds.

This is needed to fix `guix pull' on non-x86 platforms.

* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]: Add catch-all for
match install-plan.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Pierre Langlois 2023-06-26 19:10:43 +01:00 committed by Jonathan Brielmaier
parent 69b05a57ee
commit 91be26a9d5
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -226,7 +226,8 @@ NVIDIA Management Library")
#:install-plan #:install-plan
#~`((,#$(match (or (%current-target-system) (%current-system)) #~`((,#$(match (or (%current-target-system) (%current-system))
("i686-linux" "32") ("i686-linux" "32")
("x86_64-linux" ".")) ("x86_64-linux" ".")
(_ "."))
"lib/" #:include-regexp ("^./[^/]+\\.so") #:exclude-regexp ("nvidia_drv\\.so" "libglxserver_nvidia\\.so\\..*")) "lib/" #:include-regexp ("^./[^/]+\\.so") #:exclude-regexp ("nvidia_drv\\.so" "libglxserver_nvidia\\.so\\..*"))
("." "share/nvidia/" #:include-regexp ("nvidia-application-profiles.*")) ("." "share/nvidia/" #:include-regexp ("nvidia-application-profiles.*"))
("." "share/egl/egl_external_platform.d/" #:include-regexp (".*_nvidia_.*\\.json")) ("." "share/egl/egl_external_platform.d/" #:include-regexp (".*_nvidia_.*\\.json"))