summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2020-03-10 11:29:21 +0100
committerMathieu Othacehe <m.othacehe@gmail.com>2020-03-10 11:29:21 +0100
commit1926db54a6a31f6676ba5db3668287ce7d709c8b (patch)
treea29b4e537e3b63d1614eec65b795670d8141a40d /gnu/packages
parent02043f36d728fd46a3d9b5bc7449cd847f1b231e (diff)
downloadguix-1926db54a6a31f6676ba5db3668287ce7d709c8b.tar.gz
gnu: guile3.0-guix: Fix cross-compilation.
* gnu/packages/package-management.scm (guile3.0-guix)[native-inputs]: Remove
all Guile 2.X libraries and replace them by their 3.0 counterpart.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/package-management.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 6daad079b3..c71029ef4e 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -412,6 +412,17 @@ the Nix package manager.")
   (package
     (inherit guix)
     (name "guile3.0-guix")
+    (native-inputs
+     `(("guile" ,guile-3.0)
+       ("gnutls" ,guile3.0-gnutls)
+       ("guile-gcrypt" ,guile3.0-gcrypt)
+       ("guile-json" ,guile3.0-json)
+       ("guile-sqlite3" ,guile3.0-sqlite3)
+       ("guile-ssh" ,guile3.0-ssh)
+       ("guile-git" ,guile3.0-git)
+       ,@(fold alist-delete (package-native-inputs guix)
+               '("guile" "gnutls" "guile-gcrypt" "guile-json"
+                 "guile-sqlite3" "guile-ssh" "guile-git"))))
     (inputs
      `(("guile" ,guile-3.0)
        ,@(alist-delete "guile" (package-inputs guix))))