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

* nongnu/packages/nvidia.scm (nvidia-libs)[arguments]: Add catch-all for match
install-plan, to fix guix pull.
[supported-systems]: Declare.
This commit is contained in:
Pierre Langlois 2021-04-15 22:40:39 +01:00 committed by Jonathan Brielmaier
parent 5e9aca6fb8
commit c82a492fe1
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -3,6 +3,7 @@
;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com> ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
;;; Copyright © 2020, 2021 Jean-Baptiste Volatier <jbv@pm.me> ;;; Copyright © 2020, 2021 Jean-Baptiste Volatier <jbv@pm.me>
;;; Copyright © 2020, 2021 Jonathan Brielmaier <jonathan.brielmaier@web.de> ;;; Copyright © 2020, 2021 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; ;;;
;;; This file is not part of GNU Guix. ;;; This file is not part of GNU Guix.
;;; ;;;
@ -365,7 +366,9 @@ Further xorg should be configured by adding:
#:install-plan #:install-plan
,@(match (%current-system) ,@(match (%current-system)
("x86_64-linux" '(`(("." "lib" #:include-regexp ("^./[^/]+\\.so"))))) ("x86_64-linux" '(`(("." "lib" #:include-regexp ("^./[^/]+\\.so")))))
("i686-linux" '(`(("32" "lib" #:include-regexp ("^./[^/]+\\.so")))))))) ("i686-linux" '(`(("32" "lib" #:include-regexp ("^./[^/]+\\.so")))))
(_ '()))))
(supported-systems '("i686-linux" "x86_64-linux"))
(native-inputs (native-inputs
`(("patchelf" ,patchelf) `(("patchelf" ,patchelf)
("perl" ,perl) ("perl" ,perl)