summaryrefslogtreecommitdiff
path: root/guix/import
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-11-17 15:39:06 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-17 15:44:33 +0100
commit21357224bc1f450931fb3a64fe6d06f9d1137b67 (patch)
tree5c2ab8205c9982e8f363aca75865a9cf7fe6aa5a /guix/import
parentc3931a5454475a940983e80066a3c835cc07f66e (diff)
import: texlive: Load (gnu packages tex) dynamically.
Fixes a bug whereby 'guix pull' would fail with this guix-extra.drv build failure: ice-9/eval.scm:163:9: ERROR: 1. &formatted-message: format: "~a: patch not found\n" arguments: ("nettle-3.5-check-_pkcs1_sec_decrypt-msg-len.patch") Reported by ekaitz on #guix. Regression introduced in 3b1a12c5bff5a0c108284d19a6982bdf663bbceb. * guix/import/texlive.scm: Autoload (gnu packages tex). fixlet
Diffstat (limited to 'guix/import')
-rw-r--r--guix/import/texlive.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm
index 8677caee59..d0307ae944 100644
--- a/guix/import/texlive.scm
+++ b/guix/import/texlive.scm
@@ -38,7 +38,6 @@
#:use-module (guix upstream)
#:use-module (guix packages)
#:use-module (guix build-system texlive)
- #:use-module (gnu packages tex)
#:export (texlive->guix-package
texlive-recursive-import))
@@ -111,6 +110,12 @@
name)))
(define (tlpdb-file)
+ (define texlive-bin
+ ;; Resolve this variable lazily so that (gnu packages ...) does not end up
+ ;; in the closure of this module.
+ (module-ref (resolve-interface '(gnu packages tex))
+ 'texlive-bin))
+
(with-store store
(run-with-store store
(mlet* %store-monad