diff --git a/gnu/build/svg.scm b/gnu/build/svg.scm index d9b909cd73..f7e92a1a19 100644 --- a/gnu/build/svg.scm +++ b/gnu/build/svg.scm @@ -22,9 +22,11 @@ #:export (svg->png)) ;; We need Guile-RSVG and Guile-Cairo. Load them lazily, at run time, to -;; allow compilation to proceed. -(module-use! (current-module) (resolve-interface '(rsvg))) -(module-use! (current-module) (resolve-interface '(cairo))) +;; allow compilation to proceed. See also . +(module-autoload! (current-module) + '(rsvg) '(rsvg-handle-new-from-file)) +(module-autoload! (current-module) + '(cairo) '(cairo-image-surface-create)) (define* (downscaled-surface surface #:key