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.master
parent
e8a051ee7c
commit
16613d230b
|
@ -45,7 +45,7 @@
|
|||
;;; 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)
|
||||
|
|
Reference in New Issue