mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
download, git: Refer to the right module in 'module-use!' call.
This fixes a regression introduced in
6a7c4636d4
.
* guix/build/download.scm (load-gnutls): Call 'resolve-module' instead
of 'current-module'.
* guix/git.scm (load-git-submodules): Likewise.
This commit is contained in:
parent
7a0836cffd
commit
058d0251bd
2 changed files with 3 additions and 2 deletions
|
@ -158,7 +158,8 @@ (define* (ftp-fetch uri file #:key timeout print-build-trace?)
|
|||
(define (load-gnutls)
|
||||
;; XXX: Use this hack instead of #:autoload to avoid compilation errors.
|
||||
;; See <http://bugs.gnu.org/12202>.
|
||||
(module-use! (current-module) (resolve-interface '(gnutls)))
|
||||
(module-use! (resolve-module '(guix build download))
|
||||
(resolve-interface '(gnutls)))
|
||||
(set! load-gnutls (const #t)))
|
||||
|
||||
(define %x509-certificate-directory
|
||||
|
|
|
@ -203,7 +203,7 @@ (define (load-git-submodules)
|
|||
(set! load-git-submodules (const #f))
|
||||
#f)
|
||||
(iface
|
||||
(module-use! (current-module) iface)
|
||||
(module-use! (resolve-module '(guix git)) iface)
|
||||
(set! load-git-submodules (const #t))
|
||||
#t)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue