mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
channels: Fix external channel builds.
This fixes a regression introduced in
ca71942445
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'.
This commit is contained in:
parent
00a43cb81c
commit
cb341c1219
1 changed files with 6 additions and 1 deletions
|
@ -207,13 +207,18 @@ (define core-instance
|
|||
(guix-channel? (channel-instance-channel instance)))
|
||||
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)))
|
||||
(mapm %store-monad
|
||||
(lambda (instance)
|
||||
(if (eq? instance core-instance)
|
||||
(return core)
|
||||
(build-channel-instance instance
|
||||
(list core))))
|
||||
(list core guile-gcrypt))))
|
||||
instances)))
|
||||
|
||||
(define (whole-package-for-legacy name modules)
|
||||
|
|
Loading…
Reference in a new issue