man-db: Autoload (gdbm).
Fixes 'guix pull'. Reported by ofosos on #guix. * guix/man-db.scm: Use 'module-autoload!' instead of 'module-use!'. so that (gdbm) is not loaded until we need it.
This commit is contained in:
parent
e8a051ee7c
commit
16613d230b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ (define-module (guix man-db)
|
|||
;;; Code:
|
||||
|
||||
;; Load 'gdbm-ffi' at run time to simplify the job of 'imported-modules' & co.
|
||||
(module-use! (current-module) (resolve-interface '(gdbm)))
|
||||
(module-autoload! (current-module) '(gdbm) '(gdbm-open GDBM_WRCREAT))
|
||||
|
||||
(define-record-type <mandb-entry>
|
||||
(mandb-entry file-name name section synopsis kind)
|
||||
|
|
Loading…
Reference in a new issue