Skip to content
Snippets Groups Projects
Unverified Commit cb341c12 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

channels: Fix external channel builds.

This fixes a regression introduced in
ca719424 whereby external channels would
fail to build due to the lack of (gcrypt …) modules.

* guix/channels.scm (channel-instance-derivations): Add 'guile-gcrypt'.
Pass it along CORE to 'build-channel-instance'.
parent 00a43cb8
No related branches found
No related tags found
No related merge requests found
...@@ -207,13 +207,18 @@ (define core-instance ...@@ -207,13 +207,18 @@ (define core-instance
(guix-channel? (channel-instance-channel instance))) (guix-channel? (channel-instance-channel instance)))
instances)) instances))
;; Guile-Gcrypt is a dependency of CORE-INSTANCE.
(define guile-gcrypt
(module-ref (resolve-interface '(gnu packages gnupg))
'guile-gcrypt))
(mlet %store-monad ((core (build-channel-instance core-instance))) (mlet %store-monad ((core (build-channel-instance core-instance)))
(mapm %store-monad (mapm %store-monad
(lambda (instance) (lambda (instance)
(if (eq? instance core-instance) (if (eq? instance core-instance)
(return core) (return core)
(build-channel-instance instance (build-channel-instance instance
(list core)))) (list core guile-gcrypt))))
instances))) instances)))
(define (whole-package-for-legacy name modules) (define (whole-package-for-legacy name modules)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment