aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2024-02-04 22:22:10 +0300
committerHilton Chain <hako@ultrarare.space>2024-02-05 15:03:12 +0800
commitbab883b981c42db07d33027c30724437aa914ead (patch)
treef473a350cf81e2b17f7d12879b10d1e1cb92851c /gnu
parent81660f9a10f0644422bd8cfd48bc4226379715d3 (diff)
downloadguix-bab883b981c42db07d33027c30724437aa914ead.tar.gz
guix-bab883b981c42db07d33027c30724437aa914ead.zip
gnu: guile-ics: Fix cross-compilation.
* gnu/packages/guile-xyz.scm (guile-ics): Fix cross-compilation. [native-inputs]: Add "guile-3.0", "guile-lib" and "guile-smc". (guile2.2-ics)[native-inputs]: Replace them with variants for Guile 2.2. Change-Id: Ie35f8087b1db30992f63edac8d303f854139ecbf Signed-off-by: Hilton Chain <hako@ultrarare.space>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/guile-xyz.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 57a4b84efe..ce0affdaea 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2196,7 +2196,11 @@ provides tight coupling to Guix.")
texinfo
gettext-minimal ;Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
help2man
- pkg-config))
+ pkg-config
+ ;; needed when cross-compiling.
+ guile-3.0
+ guile-lib
+ guile-smc))
(inputs (list guile-3.0))
(propagated-inputs (list guile-lib guile-smc guile-dsv))
(home-page "https://github.com/artyom-poptsov/guile-ics")
@@ -2213,6 +2217,11 @@ The library is shipped with documentation in Info format and usage examples.")
(package
(inherit guile-ics)
(name "guile2.2-ics")
+ (native-inputs
+ (modify-inputs (package-native-inputs guile-ics)
+ (replace "guile" guile-2.2)
+ (replace "guile-lib" guile2.2-lib)
+ (replace "guile-smc" guile2.2-smc)))
(inputs (list guile-2.2))
(propagated-inputs (list guile2.2-lib guile2.2-dsv guile2.2-smc))))