summaryrefslogtreecommitdiff
path: root/guix/build-system
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-01-24 17:13:11 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-01-27 09:36:36 +0200
commit0444be868903356a37fc8ffd3cdf820ca038f3e6 (patch)
treeb49a7115eaa0a49148e761961c8715a7e3ff80ab /guix/build-system
parent90a41fe388102d448b3f91a070e38a7680d2d568 (diff)
gnu: Add %final-inputs-riscv64.
* gnu/packages/commencement.scm (%final-inputs-riscv64): New variable. * guix/build-system/gnu.scm (standard-inputs): Use %final-inputs-riscv64 when targeting riscv64-linux.
Diffstat (limited to 'guix/build-system')
-rw-r--r--guix/build-system/gnu.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm
index 651415098e..2f74000eef 100644
--- a/guix/build-system/gnu.scm
+++ b/guix/build-system/gnu.scm
@@ -273,7 +273,9 @@ standard packages used as implicit inputs of the GNU build system."
;; Resolve (gnu packages commencement) lazily to hide circular dependency.
(let ((distro (resolve-module '(gnu packages commencement))))
- (module-ref distro '%final-inputs)))
+ (if (target-riscv64?)
+ (module-ref distro '%final-inputs-riscv64)
+ (module-ref distro '%final-inputs))))
(define* (lower name
#:key source inputs native-inputs outputs target