~ruther/guix-local

16613d230b3d9a9cf307c5c5d3899eb0a0c93b0e — Ludovic Courtès 8 years ago e8a051e
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.
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/man-db.scm
M guix/man-db.scm => guix/man-db.scm +1 -1
@@ 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)