From c82a492fe165414347fa9fcaccfaec16df0a315a Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Thu, 15 Apr 2021 22:40:39 +0100 Subject: [PATCH] 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. --- nongnu/packages/nvidia.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index e82f3af..84e185b 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2020 Malte Frank Gerdes ;;; Copyright © 2020, 2021 Jean-Baptiste Volatier ;;; Copyright © 2020, 2021 Jonathan Brielmaier +;;; Copyright © 2021 Pierre Langlois ;;; ;;; This file is not part of GNU Guix. ;;; @@ -365,7 +366,9 @@ Further xorg should be configured by adding: #:install-plan ,@(match (%current-system) ("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 `(("patchelf" ,patchelf) ("perl" ,perl)