diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-17 21:31:59 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-17 21:38:03 +0100 |
commit | 16613d230b3d9a9cf307c5c5d3899eb0a0c93b0e (patch) | |
tree | 25320b48fc0c6fba8d9d8b250e9b9d84fe47f8a9 /guix/man-db.scm | |
parent | e8a051ee7c140886bce8dcd191cb10918b2d4078 (diff) | |
download | gnu-guix-16613d230b3d9a9cf307c5c5d3899eb0a0c93b0e.tar gnu-guix-16613d230b3d9a9cf307c5c5d3899eb0a0c93b0e.tar.gz |
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.
Diffstat (limited to 'guix/man-db.scm')
-rw-r--r-- | guix/man-db.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/man-db.scm b/guix/man-db.scm index ae960e5a1e..5d62e0c82d 100644 --- a/guix/man-db.scm +++ b/guix/man-db.scm @@ -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) |