aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorZ572 <873216071@qq.com>2023-03-10 21:07:56 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-03-17 18:55:05 +0800
commitc41bc99650cb9e32c942bdb721e641df161f3ec8 (patch)
tree0ce099bbaa0fffd404a0e63d2a9ed3c86e5af7cd /gnu
parent84a70d7c15314f01149ddc0728195c7b9f6309c7 (diff)
downloadguix-c41bc99650cb9e32c942bdb721e641df161f3ec8.tar.gz
guix-c41bc99650cb9e32c942bdb721e641df161f3ec8.zip
gnu: gamin: Fix cross-compilation to riscv64.
* gnu/packages/gnome.scm (gamin) [arguments]<#:phases>: Apply 'replace-config.sub for riscv64 too. [native-inputs]: Add config for riscv64 too. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 34758f2afc..5a857dd45f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12266,7 +12266,7 @@ repository and commit your work.")
`(#:phases
(modify-phases %standard-phases
;; The 'config.sub' is too old to recognise aarch64.
- ,@(if (and=> (%current-target-system) target-aarch64?)
+ ,@(if (or (target-aarch64?) (target-riscv64?))
`((add-after 'unpack 'replace-config.sub
(lambda _
(delete-file "config.sub")
@@ -12308,7 +12308,7 @@ repository and commit your work.")
(list glib))
(native-inputs
`(("pkg-config" ,pkg-config)
- ,@(if (and=> (%current-target-system) target-aarch64?)
+ ,@(if (or (target-aarch64?) (target-riscv64?))
`(("config" ,config))
'())))
(home-page "https://people.gnome.org/~veillard/gamin/")