This is an automated email from the git hooks/post-receive script.
andreas pushed a commit to branch tex-team
in repository guix.
The following commit(s) were added to refs/heads/tex-team by this push:
new baaab8c88b gnu: asymptote: Fix build.
baaab8c88b is described below
commit baaab8c88bf0ce08bdeeba020292fa6c3b9728a1
Author: Andreas Enge <[email protected]>
AuthorDate: Mon May 5 14:56:45 2025 +0200
gnu: asymptote: Fix build.
* gnu/packages/plotutils.scm (asymptote)[arguments]<#:phases>{setenv}:
New phase.
Change-Id: Id2e0f33d82affa573c7f2c5fe7c3741f42479b8e
---
gnu/packages/plotutils.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 44749402e6..feec60ca42 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -171,6 +171,9 @@
(substitute* "settings.cc"
(("defaultPDFViewer=\"acroread\"")
"defaultPDFViewer=\"gv\""))))
+ (add-before 'build 'setenv
+ (lambda _
+ (setenv "TEXMFVAR" "/tmp"))) ;for font shapes generation
(add-before 'check 'set-HOME
;; Some tests require write access to $HOME, otherwise leading to
;; "failed to create directory /homeless-shelter/.asy" error.