summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2023-08-23 21:28:37 +0300
committerLudovic Courtès <ludo@gnu.org>2023-09-08 19:12:15 +0200
commitf4f92dd778574305608a02162026e3d5f575daf8 (patch)
tree5201e482b2a4a3784edc0b75a6312933a3e5251e /gnu
parent470ebff87b21d7673c82203f679f0dcfe5e8d284 (diff)
downloadguix-f4f92dd778574305608a02162026e3d5f575daf8.tar.gz
gnu: guile-dsv: Fix cross-compiling.
* gnu/packages/guile-xyz.scm (guile-dsv): Fix cross-compiling.
  [native-inputs]: Add "guile-3.0" and "guile-lib".
  (guile2.2-dsv) [native-inputs]: Replace "guile" with "guile-2.2"
  and "guile-lib" with "guile2.2-lib".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/guile-xyz.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 25fb76ba31..b40079c383 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -745,6 +745,8 @@ you send to a FIFO file.")
                          texinfo
                          help2man
                          ;; needed when cross-compiling.
+                         guile-3.0
+                         guile-lib
                          guile-smc))
     (inputs (list bash-minimal guile-3.0))
     (propagated-inputs (list guile-lib guile-smc))
@@ -788,7 +790,8 @@ tables.")
     (name "guile2.2-dsv")
     (native-inputs (modify-inputs (package-native-inputs guile-dsv)
                      (replace "guile-smc" guile2.2-smc)
-                     (append guile2.2-lib)))
+                     (replace "guile" guile-2.2)
+                     (replace "guile-lib" guile2.2-lib)))
     (inputs (modify-inputs (package-inputs guile-dsv)
               (replace "guile"  guile-2.2)
               (replace "guile-lib" guile2.2-lib)))