summaryrefslogtreecommitdiff
path: root/guix/channels.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-09-20 13:37:58 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-09-20 13:37:58 +0200
commit2817ac3c18c1b1a6291c052bc61edd0947890a82 (patch)
tree9985705b35274ae1d6655be789346a98beff63de /guix/channels.scm
parentecd13016517f0113016fef090782b725fd5e80ce (diff)
parent3e12df7d71547b4eca718b6b0e1fc244722dcc39 (diff)
Merge branch 'master' into core-updates
Diffstat (limited to 'guix/channels.scm')
-rw-r--r--guix/channels.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/guix/channels.scm b/guix/channels.scm
index cf833db8b9..2e7bffae9f 100644
--- a/guix/channels.scm
+++ b/guix/channels.scm
@@ -207,10 +207,16 @@ INSTANCES."
(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))
+ (define dependencies
+ ;; Dependencies of CORE-INSTANCE.
+ ;; FIXME: It would be best not to hard-wire this information here and
+ ;; instead query it to CORE-INSTANCE.
+ (list (module-ref (resolve-interface '(gnu packages gnupg))
+ 'guile-gcrypt)
+ (module-ref (resolve-interface '(gnu packages guile))
+ 'guile-git)
+ (module-ref (resolve-interface '(gnu packages guile))
+ 'guile-bytestructures)))
(mlet %store-monad ((core (build-channel-instance core-instance)))
(mapm %store-monad
@@ -218,7 +224,7 @@ INSTANCES."
(if (eq? instance core-instance)
(return core)
(build-channel-instance instance
- (list core guile-gcrypt))))
+ (cons core dependencies))))
instances)))
(define (whole-package-for-legacy name modules)